- AllyKerrAsked on July 01, 2013 at 10:43 PM
Can you please look at this rental booking form and tell me why it's saying 'There are incomplete required fields. Please complete them.' even when all required fields are filled in? It doesn't happen every time, only sometimes, and is happening in several different browsers.
If I can provide any more information, please let me know.
- pinoytechAnswered on July 01, 2013 at 11:01 PM
Your form seems to be working on my end upon checking. Please take a look at this video: http://www.screencast.com/t/q6gKrOJmGD
Can you please clear your browser cache and cookies?
- AllyKerrAnswered on July 02, 2013 at 12:55 AM
Thank you for looking into this.
I've cleared my browser cache and cookies but still have the same problem. It doesn't happen every time but I'm stuck as to what is causing it to happen sometimes.
I've noticed that the 'Collection Time' label turns white when its field is clicked but can't see anything wrong with those fields that would cause this error. Would you mind having a look at that area please?
- JotForm SupportMorianAnswered on July 02, 2013 at 02:04 AM
I cloned your form and I was able to make a submission as well without any issue using Chrome. May I know what browser are you using and have you tried making a submission in other browsers? Thanks!
- AllyKerrAnswered on July 02, 2013 at 05:42 PM
I'm using Chrome and have also tried in Firefox with the same problem.
Some changes have been made to the form since creating it on JotForm, mostly styling I think, so maybe that has created a problem.
- JotForm SupportMorianAnswered on July 02, 2013 at 06:04 PM
If it is just the style that is changed, then there should be no problem with the functionality. In your stand-alone form, which I cloned, it is working perfectly.
I can see that the only required fields aside from those in "Details" are in the "Person One" form collapse. Have you made sure to fill in the required fields in "Person One" as well before making a submission? 'Cause like my colleague Pinoytech, on my end, your form also seems to be working perfectly. Thanks.
- AllyKerrAnswered on July 02, 2013 at 07:12 PM
Yes, we have made sure to fill in the 'Person One' fields. Several different customers have reported this error but, as you have found, it isn't consistent.
This is probably a long shot but can you suggest anything else on the page that might be interfering with the form? Other scripts perhaps?
- JotForm SupportEltonCrisAnswered on July 02, 2013 at 07:45 PM
I couldn't replicate the problem here as well on Chrome Browser but I noticed one possible reason why this happens, it could be a problem with your date/time field and some required dropdown that aren't triggering required error validation message.
On the date/time field of your form, it displays 24 hour time while it only accepts 12 hour format. Note the AM/PM.
I would suggest to remove the default value of this field instead. Or better yet, remove the date/time default value. Note that this works fine in your stand alone form: https://www.jotform.com/22912526793358 so it might be an issue on your embedded source code, sort of code conflict.
For the required dropdown as seen on your stand alone form, they don't work on your embedded source code form most probably due to your custom script layout for your dropdown fields. Required error validation shold be triggered when these fields are left empty but due to scripts clashing, they are malfunctioned. The best solution for this is to set your dropdown fields unrequired in the form builder.
Hope this helps. Thanks!
- AllyKerrAnswered on July 02, 2013 at 09:07 PM
Excellent! Thank you! I've tried submitting forms that were identical other than the collection time and it submitted 10:30 AM fine but rejected 14:59 AM, which makes sense. :-) I've removed the default values for those fields.
To make a field not required, is it as simple as removing the class "validate[required]" from the input?
<input class="form-textbox validate[required]" id="min_11" name="q11_collectionTime[min]" type="text" size="2" maxlength="2" value="" />
<input class="form-textbox" id="min_11" name="q11_collectionTime[min]" type="text" size="2" maxlength="2" value="" />
I'd like to avoid changing the form in form builder and embedding it again because of the customisations.
- dinesh-itAnswered on July 02, 2013 at 11:03 PM
Yes! Removing the validate[required] from the input tag will make that field to not required.
Feel free to ask if you have further clarification.
- AllyKerrAnswered on July 03, 2013 at 08:35 PM
All set - many thanks to you all for your very prompt help!
- khrisellAnswered on July 03, 2013 at 10:23 PM
In behalf of the entire JotForm Support, you are most welcome. We are glad to be any help of your JotForm needs.
Feel free to contact us anytime.
Thank you for using JotForm.