Please Note: We are no longer using forums to facilitate standard support. 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.

Adding fields via PHP

  1. ykotlar
    Member

    Question, is it possible to add fields in a form using php code? Scenario is, every form are needed with a base form which is common in all form. This is to avoid adding same fields in every form.

    Posted 3 years ago on Sunday December 11, 2011 | Permalink
  2. Do you want to do this when the form is rendered? Or do you mean to do this when creating new forms? I don't think either is possible, actually.

    In the past, I have created a "base form" which has all the data which your organization requires on all forms, then duplicate that form and add the data which is new, then save the form with the new name.

    Posted 3 years ago on Monday December 12, 2011 | Permalink
  3. ykotlar
    Member

    Yup that's probably the last choice. Thank you.

    Posted 3 years ago on Monday December 12, 2011 | Permalink
  4. It's a good work around to save you time. I have tried doing it by exporting the forms as XML and merging them, but it was troublesome so the BASE form works in my situation. Then I just add the rest of the fields in the form builder. Hope that works for you too.

    Posted 3 years ago on Monday December 12, 2011 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only