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.

Add a field to ALL form

  1. eeadmin
    Member

    One of my sites, I have many forms (it's a multisite with about 20 sites and 15 formes each...)

    I have created a plugin that fills a form field with specific data. But for this to work I need the field to be present in all forms. and that's a lots of forms.

    Plus when the plugin is no ON I dont want the fields to display.

    Is there a way dynamicly to add/remove fields from forms?

    Posted 12 years ago on Thursday January 26, 2012 | Permalink
  2. eeadmin
    Member

    Any Ideas?????

    Posted 12 years ago on Sunday January 29, 2012 | Permalink
  3. There's no way to dynamically do what you want. You could add the field to one form in the form editor, then export the forms as XML files & copy/paste the new field into the other forms and re-import them. The caveat is that if you re-import them they'll be imported as new forms and you wont have the old entries archived with any new ones.

    If you do go that way, you'll need to be comfortable editing the XML and will also want to be sure that the field ID is unique to each form. You can follow the same field ID format you'll find in the XML.

    It's still going to be a bit of work whichever way you go.

    Posted 12 years ago on Monday January 30, 2012 | Permalink