Can I combine two forms into one

  • Profile Image
    gmcneil808
    Asked on September 05, 2014 at 03:22 PM
  • Profile Image
    david
    Answered on September 05, 2014 at 04:23 PM

    Hi,

    Yes it is possible to embed your form within the "Text (HTML)"  field. Please follow these steps:

    1. Add a "Text" field in your form where you want to embed your other form.

    2. Select your Text field

    3. Click the HTML button found at the toolbar on top

    4. Paste in your other form's embed codes using iFrame embed method

    5. Click "OK" and then save your form.

    Please let us know if you need further assistance on this and we will be happy to help.

  • Profile Image
    gmcneil808
    Answered on September 05, 2014 at 04:41 PM

    I copied the embed code into the text HTML, pressed OK and Save, but nothing happened.  Not sure what i did wrong, I followed the steps.

  • Profile Image
    Mike_T
    Answered on September 05, 2014 at 05:58 PM

    Can we have a link to the form in question? We can try to check the code to see if anything is wrong.

  • Profile Image
    gmcneil808
    Answered on September 05, 2014 at 06:48 PM

    http://www.jotform.com//?formID=42465244895161

     

    The link to the "birthday calcluator" is right after "example age"

    this is what im trying to embed: <script type="text/javascript" src="//form.jotform.us/jsform/42455298383161"></script>

     

    Thanks

  • Profile Image
    BaneD
    Answered on September 05, 2014 at 09:47 PM

    You should try adding code sing iFrame method. You can do that as shown on the photo.

    After you click on that icon you will get the code that you can copy to the other forms HTML field (Text widget) as suggested by David

    it should look like

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformeu.com/form/42455298383161" frameborder="0" style="width:100%; height:727px; border:none;" scrolling="no"></iframe>
    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

     

    Hope that helps :)

  • Profile Image
    EltonCris
    Answered on September 06, 2014 at 04:25 AM

    @gmcneil808

    BaneD is right. You have to use iframe embed code instead of script embed code. Script embed is just not possible anymore in the Text field.

    Thanks!