I would like to know if changing field elements will cause problems when the form is submitted to Jotform

  • lafamilyhousing
    Asked on September 26, 2017 at 4:02 AM

    Hi,

    I need to accept both recurring and one-time payments using Stripe on a single webpage. Since that isn't possible in a single form, I'm planning on embedding multiple forms on one page, using JavaScript to hide/show forms based on which tab is selected. Because of the deep customization I'm doing with the appearance of the form, I'll need to embed using the source code.

    My question is this: since having multiple elements with identical IDs causes problems, and since Jotform forms reuse the same basic IDs, I would like to change form IDs on the second form so there's no conflicting IDs. If I change them in the HTML, will that cause problems when the form is submitted to JotForm?

    Thanks!

  • Welvin Support Team Lead
    Replied on September 26, 2017 at 6:49 AM

    It is not recommended to change any part of the form, especially the selectors (class and ID), and the submit URL values. A workaround I can suggest would be to isolate each form from the other. You can do this by placing the form source into an external HTML/PHP page and embedding this page into your website tab(s). Or, link each form to another page instead of placing two source codes on a single page.