Is it possible to embed one jotform inside another jotform?

  • Profile Image
    hilleng
    Asked on July 25, 2011 at 06:24 AM

    I'm trying to embed one form inside another and it looks like it works on your form builder editing screen, but when you do the preview or access the main form via the website the main form is displayed on, the embedded form doesn't display, you just get a blank page.

  • Profile Image
    allanftd
    Answered on July 25, 2011 at 07:33 AM

    Hi hilleng,

    Thank you for your message. If you mean you want to embed a JotForm form into another JotForm form, this is not possible since you cannot use <IFRAME> and <SCRIPT> tags into the Free Text (HTML) field. These two HTML tags are used for embedding JotForm forms, and both are being stripped off when placed within the Free Text (HTML) field for security purposes.

    I hope I understood your concern correctly. Please let us know if you have any other questions or concerns.

    Thank you for using JotForm!

    JOTFORM SUPPORT

  • Profile Image
    hilleng
    Answered on July 25, 2011 at 07:07 PM

    Thank you for confirming that it can't be done. 

    Is it possible then to copy an entire form page including it's conditions?

     

    Many thanks

  • Profile Image
    abajan
    Answered on July 25, 2011 at 07:22 PM

    Hi hilleng

    When a form is cloned, all of the conditions set in the original form are copied to the clone. Is this what you wanted to know about? If not, please clarify.

    Thanks.


    ~ Wayne

  • Profile Image
    idanfactor
    Answered on July 25, 2011 at 07:50 PM

    Hi abajan,
    Why we can't use Iscript and Iframe with Jotform HTML code

     

  • Profile Image
    hilleng
    Answered on July 25, 2011 at 08:38 PM

    Hi Wayne,

     

    Thanks for your quick reply.

    I'm setting up a request for quote form & for each item has a lot of conditional fields. (There's approx 20 main categories they can choose from which will then display about 20 sub categories depending on their choice, which will again display a number of other fields for required dimensions etc).  To manually reprogram all the conditions when copying fields one by one will just be a nightmare. 

    I've noticed that when you copy a field the conditions don't copy.  Duplicating (creating a clone of) my first form doesn't help, unless it can somehow be embedded within the original form which I've been told by your support team in the answer above is not possible.

    I want to be able to copy all the fields AND the conditions for the first item ( which is page 2 of my form ) so that customers can then re-enter all the info for a second item and so on.  (A bit like an add to cart option)

    Can you see any possible solutions to my problem?

     

    Thanks for your time

     

     

  • Profile Image
    aytekin
    Answered on July 26, 2011 at 03:12 AM

    I don't have a direct solution but here are some possible suggestions:

    Option 1. Use the Matrix field under Survey Tools to get the item details. This way you do not have to enter so many conditions.

    Option 2. Hide additional item fields using FormCollapse under Survey Tools. Again, you do not need to create conditions if you hide them using FormCollapse.

    Option 3. The conditions work as JavaScript code which can be edited. You can get the Full Form Source Codeand edit the javascript code. Adding multiple conditions can be easier that way if you don't mind messing with code.

    Here is how you can get the form source code. Open the form on the Form Builder:
    1. Open "Setup & Share" tab on toolbar,
    2. Click on "Embed Form"
    3. Click on "Source Code" and copy the code provided.

  • Profile Image
    hilleng
    Answered on July 27, 2011 at 02:01 AM

    Hi Aytekin,

     

    Thanks for your reply.  I've had a look at your suggestions

     

    Opt 1 is no good because you can't apply conditions to individual columns within the matrix, it is identified as a single field.

    Opt 2 - form collapse looks good on a form, but you still need to duplicate all the conditions manually

    (please try my form to see what I mean!  Try adding item 1 and then select fastener type - socket head capscrew & then choose a category and only the boxes with the required dimensions shows up to be entered by the customer.  Now you should be able to see that we've got about 20 different fastener types - bolts, nuts, washers etc etc, and for EACH one there can be on average 20 sub category codes (we've got a total of around 350 different sub categories).  The dimensions boxes show up depending upon the subcategory chosen by the customer (the only one I've programmed conditions for at this stage is the Socket head capscrew categories.)  Have a look at the conditions programmed for item 1 and you'll see how much trouble it's going to be to have to program conditions for each item individually.  At this stage each item is set up as an individual form linked via a pop up window, which means there are 4 individual form submissions for one request for quote - and that's only having the customer be able to request a quote for 3 items!  This would be a nightmare for matching up the items with the customer using IP addresses.

     

    Opt 3 - Javascript code - Being a novice I wouldn't even know where to start with copying a page & all it's conditions via the source code, but if it can be done & there is someone who can help show me how to do it it would be appreciated.

     

    My other idea is to somehow JOIN my forms together??  Because I can clone a form including all conditions, if I could join them together or merge then from 4 single page forms into one four page form that would solve my problems.  Is that possible at all?

     

    Thanks for taking the time to look at this...

  • Profile Image
    hilleng
    Answered on July 27, 2011 at 03:42 AM

    Also just noticed that my form isn't working right in internet explorer.

    Mozilla Firefox & Google Chrome work correctly - when you click the link to add an item the item details form opens in a NEW pop up window (originally they opened in the same window & cancelled the main form - I fixed this by "naming" the windows.  The default in your coding for embedding a pop up window is "Blank".  I've named them "Item 1", "Item 2" and "Item 3".)

    In internet explorer 8, the links have errors & do not work at all??  Any ideas?

     

    Thanks

  • Profile Image
    aytekin
    Answered on July 27, 2011 at 07:53 AM

    I thought you only wanted the conditions to show/hide additional questions. If you need the conditions inside the list of questions for each item, my suggestions will not work. Unfortunately, what you need is currently not possible with JotForm.

    Regarding the new question, please open another thread for unrelated questions. This way we can keep discussions separate. For example, if someone else wants the same feature you requested above, he/she can also join the discussion if the thread is only about that topic. Also, we use the support forum to keep track of feature requests and bug reports. Thanks!