What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
Here at JotForm, we want to make sure that you’re getting the help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, than there could be more users who may be wondering that same thing. That is why many of our support threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Conditions and embeded formsAsked by chiseled_images on February 29, 2012 at 12:42 PM
Ok, so I what was done here: http://jotformpro.com/answers/79363-How-can-you-open-another-form-depending-on-the-choice-a-user-makes#13
I'm kind of on those same lines however looking for the form to show within the same form.
I've got my form here: http://jotformpro.com/form/20587309138962
I've got two HTML boxes with two embeded forms using the source code from my other forms. I set up a conditions to hide and revel the forms according to the users choice in the radio button.
I works to hide the monyl donation box. However I can't get it to ride the one time donation box. I set up 4 conditions ( I tried with just two as well).
if one-time chosen then hide monthly box
if monthy chosen then hide one-time box
if one-time chosen then show one-time box
if monthly chosen then show monthly box.
not matter what though it's always showing the one-time box. any ideas?
embed conditions source donation
You should not use full source codes to embed the forms within your main form as it will cause conflicts between the scripts making some, if not all of them, useless.
Kindly use iFrame embed codes instead.
To get your form's iframe codes:
1. Click Setup & Embed tab
2. Click Embed Form button
3. Choose iFrame option
4. Copy the codes provided in the succeeding screen
By the way, please remove the empty condition in your monthly donation form as it causes the payment field to hide permanently.
If all goes well, your main form should work like this - http://www.jotform.me/form/20598427367464
I forgot to mention that you should also keep the conditions in your main form as simple as possible. Delete unnecessary ones and keep only these conditions:
if sponsorshiptype EQUALS one-time AND if sponsorship type is FILLED then show one-time box
if sponsorshiptype EQUALS monthly AND if sponsorship type is FILLED then show monthly box.
Did you create that form using the JotForm editor or by hand? Whenever I insert an iframe into the HTML section is doesn't take it. That was the first thing I tried. Even on the form you linked to above, I cloned it. It worked fine. Then I clicked on edit the html section for one of the iframes, went to the edit html button. and the HTML and it was blank. I closed it, and vola the iframe disappeared. I guess I can clone your form and hope I don't have to change anything. though it would be nice to be able to.
Here's a video showing it happening: http://chiseledimages.com/misc/jot/
any thoughts on why that would be happening.
Everything in that example was done using the Form Builder.
You must click the HTML button in the toolbar to paste the iframe embed codes as the Free Text editor will strip codes out.
ah. perfect. thanks!