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.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum 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.
Some required fields work, others don'tAsked by GD2Trial on December 05, 2013 at 01:48 AM
I have a form embedded on my WordPress site that includes many required questions as well as a question that requires a numerical answer over the number 18.
1. Sometimes required fields are flagged if they are not completed before someone goes to the next page, most times most of them are not (although signatures always seem to be flagged if not completed).
2. The field that requires a number response greater than 18 sometimes works--usually on the first visit to the page--and sometimes doesn't--almost always when the page is refreshed, but sometimes on the first one as well.
Both issues do not seem to be browser specific--they occur using Firefox on my computer and using Chrome on my cell phone.
I am using Firefox 25.0.1 on my computer, Chrome 31.0.1650.59 on my Android cell phone.
I embed the form as a secure form.
Autofill in form preferences is disabled.
The form is located here:
Am I doing something wrong? Any assistance would be greatly appreciated!
The iFrame Method without the Script tags should work. Please kindly try it, this codes:
<iframe id="JotFormIFrame" allowtransparency="true" src="https://secure.jotform.us/form/33371447152148" frameborder="0" style="width:100%; height:16030px; border:none;" scrolling="no"></iframe>
Also, kindly try to use the Jotform's WP Embed Form Plugin: Embed Form Plugin for Wordpress
Please update us for the results.
Thanks for such a prompt response.
I tried the iFrame method without the script tags and the form works properly. However, the page is really long so that even though each page of the form takes up several inches of the screen, there is tons of empty white space below (enough that you have to scroll down a long ways before finally reaching the bottom of the page).
I also tried using the WP Embed Form Plugin, but it didn't work at all--I installed it twice and clicking on the embed button didn't do anything.
It appears that the height value on the iframe script may be a bit higher than neccesary. All that needs to be done is to lower the value to where the form fits properly.
Kindly try editing the highlighted text to a much lower value. I have left it at 2800px as this seems to allow all pages to be viewed properly.
<iframe id="JotFormIFrame" allowtransparency="true" src="https://secure.jotform.us/form/33371447152148" frameborder="0" style="width:100%; height:2800px; border:none;" scrolling="no"></iframe>
Do keep in my that many of the pages on your form are really short compare to others that are really long. I would suggest to maintain all pages with around the same sizes to keep uniformity if possible.
I did have problems try to test the size direclty on your site as it appears to give of an error. Nevertheless do try the update code with value 2800px
Error accessing your link:
Kindly let us know if you need additional assistance. Thank you.
Thanks for the help! Adjusting the iframe height helps significantly, and I'll look at ways to make the form pages close to the same in length.
Thanks for the heads up about the error message., too I'm not sure what happened, but it my colleague may have been working on our site as well, so we'll figure it out.
On behalf of my colleagues, you are welcome.
Do get back to us if you have any questions.