What would be the best way to merge multiple forms into one?
What would be the best way to merge multiple forms into one?
Entries as well.
There isn't any way to merge entries, but you can export both of the forms and work to merge them manually using a text editor.
OK. I exported all of the forms I wanted to merge together and it created one .xml file with all of them in a single file.
Is that the file I would need to import? And what parts should I edit?
When I import back in to my site, how should I name the file so it doesn't mess with current forms?
Thanks.
If you aren't sure how to do this, then you shouldn't do it, and instead should use our form builder to build out one new form with all the fields you need.
Sorry if my answer came off short, but it really is something that someone should only undertake if they have a solid understanding of XML. I don't want to lead you down a path of greater frustration by having you undertake such a complex edit of our export files. We don't currently support merging forms because it isn't a feature we have. Again, I would highly recommend using our form builder instead.
I have the skill-set. I only exported the file last night and didn't get to look at it too closely yet. I was just looking for some insight before I started to edit it, that's all.
The forms I want to merge are pretty large, so I was looking to save some time.
Thanks.
So you'll want to check the header area of whatever file is going to be the import file, and change the name and whatnot. Beyond that, you'll want to copy the field data from each form into the parent file, in the same depth as the field data in the parent file. If you import two forms with the same name, Gravity Forms is smart enough to not override it. It isn't an exact science unfortunately.
Perfect. Thanks again. I'll let you know how it goes.
Well, that was fairly easy. I merged 5 separate forms into one successfully.
I just copied the child elements into the parent in the order I wanted. The time consuming part was renumbering all of the field ids and input ids. If you don't, there will be duplicate ids which will cause problems.
I found that using the form builder to reset all of the conditional values was easier than trying to change in the XML code. Still working on that part now.