-
Beanie3556Asked on March 14, 2017 at 4:30 AM
Dear Forum,
I have created a form where the user is supposed to enter a start time in one field and a end time in another field.
Then some hidden fields (form calculation widget) will perform a calculation and return hours and minutes in the last field.
How do I use field validation to prevent a user to enter a "End Time" that is earlier than the entered "Start Time" - and how do I make sure that the user enters a "start time" that is not after the "End Time"?
Please see the form in below link.
https://form.jotform.me/70722116456452
Any information or help that can contribute to solve this problem, is highly appreciated.
Thank you very much in advance for your great support.
Best Regards,
Bjorn
Page URL: https://form.jotform.me/70722116456452 -
Chriistian Jotform SupportReplied on March 14, 2017 at 5:18 AM
I'm currently checking your requirements. Please allow me some time to further investigate. I'll get back once I've found results.
Regards.
-
Chriistian Jotform SupportReplied on March 14, 2017 at 5:25 AM
You can add a condition to your form that will hide the submit button if the two following conditions are met:
1. End Time is earlier than the Start Time
2. Start Time is after End Time
Let us know if you need further assistance.
Regards. -
Beanie3556Replied on March 15, 2017 at 2:52 AM
Hi Christian,
Thank you very much for your reply. Yes, it worked for me.
Thank you once again for your great support.
Best Regards,
Bjorn