JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Date field doesn't populate its fields when using the built in calendar.Asked by Christine Kikuchi on June 05, 2015 at 03:23 PM
If the user clicks on the arrival or departure date, the calendar opens up. However, clicking on a date does not fill in the month day year sections. Help!
calendar date field populate scripts iframe
I have cloned your form and everything works fine with the dates. However, when I checked your website the date field isn't really working. It's possible that there are conflicts between the forms scripts and the scripts on your website.
I would recommend for you to use the iframe code instead of the original script when embedding your form.
When you copy the iframe code, leave the <script> part of it and just embed the <iframe> only.
And that should do it. I have replicated your website and test it with the original script and the date really doesn't work well. But when I used the iframe code, it was perfect. \
I hope this helps. Let us know if you need any further help. Thank you.
I've changed from using the embed code to using the iframe. The calendar is working. That is good. What is bad is now the thank you is not working as it should.
Although the test works to get the form data to my email, the actual form (on the web site) is not doing that.
When I click on submit, the page jumps up to the top of the web page instead of being where the message is.
The last line of the thank you message does not show.
You might have missed it, but it appears that you have copied the iFrame code together with the script that is offered in the iFrame embed code. As suggested by our colleague Mike above, please try removing the script and using only the plain iframe part of the code, this should prevent your thank you page from being cut off upon submit.
When it comes to jumping to the top of the page, please try adding the ?nojump parameter to the URL of your embedded form, such as this:
<iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotform.us/form/51468131835153?nojump" frameborder="0" style="width:100%; height:545px; border:none;" scrolling="no"></iframe>
Please let us know how it goes. Thank you.
We try to keep one issue/question per thread, so your issue with emails not received should be in a new thread. However, I have logged into your account and I can see that your Email Notification is set to send emails to gary at your company domain. Maybe you were looking into the wrong mailing inbox?
If you are still not seeing emails even in that email address, please kindly open a new thread, so that we avoid unnecessary confusion.
Thank you for letting us know that removing the script solved the issue of the welcome message being cut off. Thank you also for letting us know that the Date field is now working properly
When it comes to the page jumping when the form is submitted, I have moved this to a new thread, as this will possibly require multiple responses. It can be found here, and we will assist you there shortly: http://www.jotform.com/answers/583163