Multiple forms on one page without ID conflict?

  • verityweb
    Asked on April 7, 2015 at 4:28 PM

    How do I create multiple forms on one page without ID conflict?

    Unfortunately, both forms I added to my webpage with iframe code, use the same ID (JotFormIFrame) and if I change one of them, that form will loose all of its styles.

    According to W3C standards, IDs should always be unique (one per page).

     

     

  • verityweb
    Replied on April 7, 2015 at 4:30 PM

    Nevermind, I was wrong. Changing the ID of the form did NOT delete the styles for the form.

  • David JotForm Support
    Replied on April 7, 2015 at 5:39 PM

    Hi,

    You should be able to embed multiple forms to the same page using the iFrame embed method:

    http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    If that does not work, you should also be able to embed one form to your page using the Javascript embed method:

    Multiple forms on one page without ID conflict? Image 1 Screenshot 20

    Then the other using an iFrame.

    If neither of these options work for you, let us know and we will be happy to have another look.

  • airportparkingandhotels
    Replied on July 18, 2016 at 5:55 PM

    This is not working for me        
     
  • victor
    Replied on July 18, 2016 at 8:01 PM

    To assist you better, I have created a new thread that will be answered shortly by our support team.

    https://www.jotform.com/answers/885468