- hotelmeridasantiagoAsked on October 20, 2012 at 03:41 PM
Problem is that sometimes people select an departure date which is in front of an arrival date.
In that case it would be nice if the form cannot be submitted and comes back with a message:
"Departure date needs to be after Arrival date."
More or less same system than with required fields.
Is this possible with Jotform?
By the way: I have great experience with Jotform and this is the reason I added
- JotForm SupportDeygusAnswered on October 20, 2012 at 04:54 PM
I apologize but unfortunately I dont really see this being possible due to the way most datepickers are programmed. However, there may be a way to work around this through the use of some custom scripting but that would also require downloading your form source and can only be done if you know some programming or are willing to hire someone as this would be done outside of JotForm.
- JotForm SupportDeygusAnswered on October 20, 2012 at 05:05 PM
A possible solution that I just thought of to avoid them accidently selecting the departure date ahead of the arrival date would be to use some Conditional Logic and hide the Departure Date if the Arrival Date has not been filled in first by the customer.
- hotelmeridasantiagoAnswered on October 20, 2012 at 06:00 PM
Thanks for your answer. Appreciated much. 95% of my page visitors fill in the form correct. I wanted to make this 99.9%. The problem is that departure date needs to be after arrival date. This is logical, but some of my visitors make a mistake with this.
I will follow you suggestion and download the source code and will do some custom scripting when I have some time to do that. When I have the solution I will post it.
- JotForm SupportabajanAnswered on October 20, 2012 at 07:13 PM
Although our conditions wizard currently does not have the ability to compare entries made in separate fields, I believe a ticket requesting that comparisons between date fields be added to the wizard, for very reason you have stated, was submitted a few months ago. However, I can't currently give any information on if or when it will become a reality.
- JotForm SupportabajanAnswered on October 20, 2012 at 07:16 PM
By the way, we really appreciate your adding us to your links page! :)
- hotelmeridasantiagoAnswered on October 20, 2012 at 08:26 PM
Thanks for the additional information on the ticket requesting. It could be a nice addition to add date logic.
I tried a few of formbuilders who got good critics too, but Jotform is most handy to use and is also fast.
It can be good news for other people who are looking for a good formbuilder to know this ;-).
All best, Jan