PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Copy a form

  1. Is there any way to copy a form? I have 2 sets of 2 nearly identical forms for different audiences. I don't want to rebuild each form AGAIN :)

    Posted 10 years ago on Wednesday September 2, 2009 | Permalink
  2. Unfortunately no, it's a feature we plan on adding in a future release but due to time constraints could not make it part of v1.0.

    Posted 10 years ago on Wednesday September 2, 2009 | Permalink
  3. Ok, so will this work as a temp workaround?

    1. Create a new form
    2. Go to the form_meta database table and copy the display_meta contents from form1, paste them into the display_meta field for form2
    3. Edit as necessary in the admin

    Is there anything else that needs to get edited in this process? I didn't see anything in the display_meta field that indicated a specific form except possibly the last "2" in a:16:{s:2:"id";s:1:"2". Thoughts?

    Posted 10 years ago on Wednesday September 2, 2009 | Permalink
  4. If you were try to do it through SQL, the form settings are stored in 2 tables.

    - rg_form
    - rg_form_meta

    You would first have to create the form and then the form field information goes in rg_form_meta. Yes, the id is also in the rg_form_meta table as both the form_id column and in the display_meta array as you mention above.

    The rg_form_view table is used for tracking form views, so you won't need to do anything with that table.

    Test it out, you can probably get it working that way and speed up the process if you have a bunch of forms to create. Just be sure to test the form to make sure everything works as expected the first time you do it before you start doing it to a bunch of forms.

    Posted 10 years ago on Wednesday September 2, 2009 | Permalink
  5. Forgot to mention... in the form_meta information you insert into the display_meta column. When updating the id, the "s" value in front of it needs to correspond to how many characters are in the id. So the it would be s:1:"2" and s:2:"10" depending on if the form id is 1 character or 2, and so on.

    Posted 10 years ago on Wednesday September 2, 2009 | Permalink
  6. anthonys
    Member

    I cant get this to work?? I am copying it like for like...

    Any ideas?

    Posted 9 years ago on Thursday April 22, 2010 | Permalink
  7. You can just use the duplicate option now

    Posted 9 years ago on Thursday April 22, 2010 | Permalink
  8. I know we can make a duplicate of an entire form but how would I go about making a duplicate field. Is that possible?

    Posted 9 years ago on Thursday May 20, 2010 | Permalink
  9. Currently it is not possible to duplicate a field. We may add this as a feature in a future release, but it isn't currently a feature.

    Posted 9 years ago on Friday May 21, 2010 | Permalink
  10. ping this, just ran into a situation where duplicating a field would be handy. time to break out the sql :)

    Posted 9 years ago on Tuesday May 25, 2010 | Permalink
  11. +1 for feature as I am moving many client sites from self-hosted installations into a WPMU model.

    Posted 8 years ago on Sunday September 4, 2011 | Permalink
  12. The ability to duplicate fields in is 1.6 (currently in beta release.) With WPMU you can include a list of forms to recreate with every new site (with a setting in wp-config.php). And you can export your forms if you want to duplicate them manually between sites. What exactly are you looking to do Idealien?

    Posted 8 years ago on Sunday September 4, 2011 | Permalink
  13. Thanks for the followup. I found the feature in the latest version of GF - which wasn't installed on the site I'm updating (and one of the very reasons to move to the WPMU setup). I'll just have to update GF to export the forms on the single sites before importing them to WPMU.

    This does bring up a general comment I'd like to raise about the forum. Your mods to great to mention when features are planned into upcoming releases, but there are more than a few threads I've encountered like this where a "This feature was implemented in version X" and reference to appropriate docs for import / export would be beneficial. Small housekeeping item but one that would probably save many people confusion about what is current functionality.

    Posted 8 years ago on Sunday September 4, 2011 | Permalink
  14. Thank you for the suggestion.

    Posted 8 years ago on Monday September 5, 2011 | Permalink

This topic has been resolved and has been closed to new replies.