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.

Bulk/Mass edit forms

  1. Hi Guys,

    I'm looking into editing some forms on my site. I am running PHPurchase (but before you say go ask them, this is not related to them) shopping cart, and as such have around 40-50 forms on the site (1 for each product). I now need to add in to each form a simple Check box and description, for acceptance of terms and conditions.

    I have looked at edited a .sql backup file of the forms, but think that this may cause more hastle than it's worth.

    Has anyone got any ideas on adding a simple section to each form? all forms the same layout and fields.

    thanks

    Posted 13 years ago on Wednesday December 1, 2010 | Permalink
  2. You could export the forms you want to to an XML file using the Import/Export Form functionality. Then manually edit that XML file and then import that form XML file.

    However, this would create new forms. It wouldn't edit existing forms. But it would allow you to bulk edit. You would have to be extremely careful editing the XML because it would have to be correct format and not have any issues in order for the import and resulting form to function properly.

    Posted 13 years ago on Wednesday December 1, 2010 | Permalink
  3. mmtrav
    Member

    Any suggestions for what kind of program might work for mass/bulk editing of forms? An XML editor would help me achieve this, no?

    The reason is that I have just had to build a multi-page complex form (which was very easy using the new paginator field), but there were many duplicate fields that would have been easier to replicate by manipulating the underlying XML. It took far too long, in other words!

    Ideas?

    Posted 13 years ago on Thursday February 24, 2011 | Permalink
  4. I just use a code editor to edit the XML. But just be extremely careful when editing the form export XML. Incorrect changes can cause problems with the form. Remember them duplicating fields, etc. that field id's have to be unique.

    Posted 13 years ago on Thursday February 24, 2011 | Permalink
  5. enclave
    Member

    Hi Carl,

    After a year, I think I am having the same issue. We have network of sites (70+) in which each has around 5 forms minimum. And we wish to edit the From, CC, and BCC.

    Is there a smart way to do it?

    XML Import
    We can't do it because we have embedded the forms and import would create new ID

    SQL
    Having go through the SQL will be okay but can be messy at some point.

    And maybe we can add this in the feature request?

    Suggested Action:
    1. From the Edit Forms sections (../wp-admin/admin.php?page=gf_edit_forms)
    2. Admin select forms that wish to be edited
    3. Dropdown Bulk Action (Edit Notifications)

    I believe this would add the value to GF as a whole. Let me know what you think.

    Posted 11 years ago on Thursday November 15, 2012 | Permalink
  6. @enclave, your issue is different. In your case, I would search and replace on the whole database using a search and replace tool which will preserve the serialized values. Here is one such tool:

    http://interconnectit.com/124/search-and-replace-for-wordpress-databases/

    Back up your database first, just in case.

    Posted 11 years ago on Saturday November 17, 2012 | Permalink