Multiple occurrence of same form embedded on a single page

  • tycoprinting
    Asked on September 9, 2016 at 3:24 PM

    We have a form at the following:

    http://www.tycousa.net/page/locations

    Because of the need to make this mobile responsive we had to add the following code twice in the html because in mobile mode we want the form to hide within a dropdown button

    When this script appears twice in the code it causes neither to function.  It works if we use the iframe code for the second occurrence but we are trying to avoid that.

    Any ideas as to why this happens and what can be done to fix it?

     

    Thank you. 

  • David JotForm Support
    Replied on September 9, 2016 at 5:46 PM

    It is not currently possible to add the same script embedded form to a single page more than one.  The forms will conflict with each other.  It is only possible to embed multiple forms to the same page using the iFrame embed code.

  • tycoprinting
    Replied on September 9, 2016 at 6:26 PM

    Thank you.  Can we have 2 separate forms on the same page using the script?  If so is it possible to have a second form that mirrors the first?

  • Mike
    Replied on September 9, 2016 at 8:12 PM

    Yes, it is possible to embed separate forms with their embed scripts on the same page. You can clone your form and put a cloned version along with the original form.

  • tycoprinting
    Replied on September 9, 2016 at 8:19 PM

    Thank you. Does a cloned form stay cloned if changes are made to the original form or are they two delegate forms at that point?

  • jonathan
    Replied on September 9, 2016 at 10:43 PM

    The cloned version will be a new form as each form have a unique ID (those numbers in the form URL). Modifying/updating your form on the Form Builder will only affect that form. 

    So if update one of the form, it will not affect the other one even when both were published on the same website page.

    Let us know if you need further assistance.