How to show a different form in a page segment - if certain conditions have been met?

  • Chrissybright
    Asked on March 23, 2015 at 4:26 PM

    2 - I have a medical release form that is for the children and youth only - how do I add that to the conditional formatting options for those that would be registering children in those age categories?  the medical release form has a lot of verbage and asks for insurance information, allergies, medication list, etc.  This form would only need to be completed once for each family, no matter how many children they are registering.

  • Ben
    Replied on March 23, 2015 at 4:52 PM

    This is actually very easy with jotform.

    To do that you should add Iframe Embed widget to your jotform in which you would add the link to the form you want to show inside - "medical release form".

    Once you have it in there, you can hide it until needed by utilizing conditions and if needed we would be happy to assist with that, so just let us know.

  • Chrissybright
    Replied on March 26, 2015 at 8:40 AM

    Thank you for your answers, however, I am not familiar with how to use Iframe Embed so I would appreciate further help.

     

  • Ben
    Replied on March 26, 2015 at 11:05 AM

    OK.

    The way it works is by showing content from a different URL within itself.

    To show a different form, all we need then is to give it a link to our form that we want to have shown and set the conditions up.

    We would be happy to show you the steps needed and explain in greater depth if you can tell us which form (parent form) would you like to have the other form shown in as well as what is this other (child) form?

    That way we can give you the examples with your own forms and help you set it up.

  • Chrissybright
    Replied on March 26, 2015 at 12:11 PM

    Here is the form that I want to come up if children or youth are checked on the first page of the registration form.  Once I add in the URL, how do I set up the conditions for it?

    http://form.jotformpro.com/form/50817673573968

  • Ben
    Replied on March 26, 2015 at 1:03 PM

    OK, great.

    To set it all up you need to add the Iframe Embed widget (see here how to add widgets)

    And once you do, just add the link above to it and set its width and height - that it will take on your jotform.

    How to show a different form in a page segment   if certain conditions have been met? Image 1 Screenshot 40

    Once we set it up it will be shown on our form.

    How to show a different form in a page segment   if certain conditions have been met? Image 2 Screenshot 51

    Once you do you should just connect the iframe embed through the conditions with the fields on your jotform.

    If I understood you correctly, you want to show this if either of the 2 options are selected and for that we will use OR rule, or as shown under this "ANY"

    How to show a different form in a page segment   if certain conditions have been met? Image 3 Screenshot 62

    You can see more about OR and AND for the conditions rules here: How to Find The OR operator in conditions?

    The widget field(id1) should be set to iframe embed widget on your jotform.

    You can see a simple sample where only this is shown on this jotform: http://form.jotformpro.com/form/50844574987977 and if you wish, you can clone it to your account following these steps: How to Clone an Existing Form from a URL

    Do let us know how it goes.

  • Chrissybright
    Replied on March 27, 2015 at 7:47 AM

    So, I've embedded the medical form using Iframe, however, when I go to add a condition the medical form is not showing on the list as an option.  Do I have to somehow give it a title?

    http://form.jotformpro.com/form/50815408938967

  • Ben
    Replied on March 27, 2015 at 10:39 AM

    In your form it is shown as widget(id87)

    This would be the setup:

    How to show a different form in a page segment   if certain conditions have been met? Image 1 Screenshot 20

    And it is set up in this form so that http://form.jotformpro.com/form/50854486664972

    I would only like to mention that since it is under the Form Collapse that is only shown for Youth option, this means that you need to click on Youth and Children (2nd-5th..) or it would not show the form, so I would change this in your condition to show when either of the two is selected instead - per my understanding of what you would like to achieve.

  • Chrissybright
    Replied on March 29, 2015 at 8:40 PM

    I tested your form and had the same problems that I had when I set up the condition for the medical release form, which is why I thought I had the incorrect widget. 

    This is what is happening:

    -When I check the box to register children (2nd-5th grade), there are 2 forms that come up next - the children's registration form and the youth registration form.  The youth form should not be coming up.  Also, when I hit submit, it submits the form without taking me to the medical form. 

    -When I check the box to register youth, it takes me directly to the medical release form and skips the youth registration form.  

  • Charlie
    Replied on March 30, 2015 at 3:20 AM

    Hi,

    I believe this is because the "Youth" configurable list widget is under the "Children" collapse bar. 

    How to show a different form in a page segment   if certain conditions have been met? Image 1 Screenshot 20

    I've cloned your form and edited it. Here's a sample of it: http://form.jotformpro.com/form/50881578009967?. See if that works as expected. You can also clone it to see my settings.

    So basically here's what I did:

    1. Add a collapse bar for "Children"

    2. Add a collapse bar for "Youth"

    3. Add a collapse bar for the "Release" consent

    4. Set up the condition to show the "Release" collapse bar if either "Children" or "Youth" has been checked or selected.

     

    See if that works.

    Kind regards.

  • Chrissybright
    Replied on March 31, 2015 at 9:08 AM

    Thank you for your help, everything is working fine and I was also able to add an additional embedded form.  I have had one person use the registration form as my test person.  I was able to get a report of all of the information except the last 2 embedded forms that were added - one is the medical release form that you helped me with, the other is a time away form that I added yesterday.

    How do I get those forms to show up on the report so that I can print them?

  • Ben
    Replied on March 31, 2015 at 10:56 AM

    I apologize, we should have mentioned this at the beginning. When you add a child form, you can submit it and capture its data, but you can not have several jotforms embedded since iframe embed widget does not capture their data into the parent form.

    In fact you will not see the option to show you this data at all.

    Based on everything mentioned here I believe that you should instead have the fields from each jotform shown in the same jotform to allow you to capture all of them at once.

    If you want, we can help you set it all like that - basically same as the jotform is set now, just without the iframe embed widget.

  • Chrissybright
    Replied on March 31, 2015 at 2:15 PM

    That would be great, I would appreciate your help in setting it up.  I am including the following forms:

    Main Registration form:

    http://form.jotformpro.com/form/50885898641978

    Youth Time Away form (I ended up creating this as a separate form because I couldn't fit the information on the configurable list).  It is only needed for the Youth (6th-12th) box is checked on the main registration form:

    http://form.jotformpro.com/form/50885728312965

    Medical Release form - only needed for the Youth (6th-12th) and/or Children (2nd-5th).  We will need to print copies of this form to give to team leaders in the event of an emergency:

    http://form.jotformpro.com/form/50817673573968

     

     

  • Charlie
    Replied on March 31, 2015 at 2:59 PM

    Hi,

    You can actually merge the fields from one form to another, no need to recreate the fields. To do that you can use this app we have: http://apps.jotform.com/app/field_manager. That should let you combine the fields from your other forms.

    See if that works.

    Kind regards.

  • Chrissybright
    Replied on March 31, 2015 at 4:53 PM

    So, I did this and my fields are showing up twice.  Do I need to go into Field Manager and delete the original widget?  How do I do this so that my conditions are still working?

  • Ben
    Replied on March 31, 2015 at 6:19 PM

    No, you should actually go into the form itself and remove all iframes embed widgets and add then move the fields up to the place the iframe embed widget was placed at.

    I did this for you - at least for Youth and Release segments.

    I have noticed that this form: http://form.jotformpro.com/form/50885728312965

    was embedded right above the submit button and that the same was found under Youth segment, so I did not remove this one as it might need to be there or it might be a mistake.

    Do take a look and let us know how it looks and if you need any assistance with this.

  • Chrissybright
    Replied on April 2, 2015 at 12:04 PM

    Thank you.  That form should not be on there twice, however, I could not get it removed.  Can you help with that?

  • Charlie
    Replied on April 2, 2015 at 1:16 PM

    Hi,

    I cloned the form you are working on and I removed the last form that was embedded using iFrame. You can check the clone form here: http://form.jotformpro.com/form/50915140173952. You might need to manually add the fields shown in the screenshot below by using plain text fields and text boxes in your main form.

    How to show a different form in a page segment   if certain conditions have been met? Image 1 Screenshot 20

     

    I hope that helps. 

    Kind regards.

  • Chrissybright
    Replied on April 3, 2015 at 6:55 AM

    Thank you...again. 

    The form seems to be working great!  I do have one more question.....When registering multiple children in the same age category (like youth for example), parents are having trouble noticing the plus sign at the bottom left of each age group's form.  How do I either change that plus sign to say 'register another' or add a text box next to the plus sign that says 'click to register another'?
  • Ashwin JotForm Support
    Replied on April 3, 2015 at 8:49 AM

    Hello Chrissybright,

    As we cannot answer multiple questions in one thread, I have moved your latest question to a new thread and you will be answered here:  http://www.jotform.com/answers/545938 

    Thank you!