-
traveldiunsaAsked on February 29, 2016 at 1:30 PM
Hi, I have a form where the user select Dates for Flight Quotes.
I have 2 calendar pickers, both are configured to not select past dates but I need to apply condition to the second based only on Dates After the First Picked Date.
So I can avoid receiving this kind of error:
I explore the Conditions Options but not find like a "After Picked Date" or something similar
Thanks a lot!
Page URL: http://traveldiunsa.com/boletos-aereos -
Kevin Support Team LeadReplied on February 29, 2016 at 4:16 PM
Please follow these steps:
1. Add a "Form Calculation Widget" to your form.
2. In the widget add this subtraction, "Fecha de Salida" - "Fecha de Regreso".
3. Add a text to indicate your users that "Fecha de Regreso" could not be less than the "Fecha de Salida".
4. Set the Form Calculation and the text as hidden.
5. Now add this conditions, total is the result of the subtraction, if it is less than 0 then it will show the message and will hide the submit button.
Take a look on my sample form: https://form.jotform.com/53097140976967.
Feel free to clone it.
Hope this helps.
-
traveldiunsaReplied on March 1, 2016 at 2:58 PM
¡Thanks for the help!
I just apply the changes in http://traveldiunsa.com/boletos-aereos/
I knew you would have a tweak to make it happen. -
jonathanReplied on March 1, 2016 at 4:29 PM
Can we assume that all is good now?
I checked the form http://www.jotform.co/form/50686448502863 on your website, and I see the condition working similar to the solution suggested by our colleague.
Let us know if there is more we can help you with.
Thanks.
-
traveldiunsaReplied on March 1, 2016 at 4:31 PM
Yes, you can mark it Solved, thanks for the help!
-
jonathanReplied on March 1, 2016 at 5:34 PM
Thank you for the confirmation. On behalf of my colleague you are welcome as well :-)
Cheers