- itchaiAsked on November 23, 2014 at 12:39 PM
I've looked around the forum using various searches and I can't find exactly the solution I'm looking for.
What I'd like to do is to create a dual calendar reservation form including check-in date and check-out date. My need is that the check-in calendar disallow dates up until and including today - a reservation must be made a day in advance. And I'd the check-out calendar to disallow dates up until and including the check-in date as soon as it is selected.
What I have so far is a calculation that shows the number of nights and if it is less than 1, an html text error message appears and the submit button is hidden via the conditions wizard. I'm not completely happy with it because the message is displayed by default until the user has entered both dates. Furthermore, I'm not able to exclude today or days before the check-in date which would be more user-friendly.
I stumbled across the Checkin Checkout widget that someone there created, and it comes close, but I'd like to make modifications which unfortunately the widget doesn't allow. The most important is that I need to be able to show the calendar not only in English but also in Spanish, as the website is bilingual. Additionally, it doesn't exclude today's date.
Does Jotform have the functioning available that I'm looking for?
Thanks in advance
- ShadaeAnswered on November 23, 2014 at 01:24 PM
I do apologize, we do not currently have a feature that would allow for today's date to be blocked. The conditional logic that you have in place is what we would recommend.
As it relates to the Check In Check Out widget. If you would like to have your form in two languages, you can use the form builder and place the two languages on the form and the form will have the option to translate the fields.
Please see the screenshots below
You can also choose which language would be your default language.
I hope this helps, please inform us if you need additional assistance.
- itchaiAnswered on November 23, 2014 at 02:23 PM
Thanks for the response, Shadae.
I'm so glad you enlightened me to the multi-language form option. I was expecting to have to create my form twice, and now I don't have to. A follow-up question: Is it possible to have the Edit Form Warnings (user input error messages) appear in either languages, depending on the one the user selects?
Unfortunately, the Check in Check out widget doesn't translate when I set the language to Spanish (neither the 'Check In Date' / 'Check Out Date' labels, nor the month label within the pop-up calendar.) I think my form will look more elegant if I keep the current 'basic' set-up.
- ShadaeAnswered on November 23, 2014 at 04:44 PM
Yes you are able to do so. Once you set the second language, you would select to have it edited to translate your form. If Spanish is your default language, those warnings would automatically be in Spanish.
Please see the screenshot below:
I hope this helps, please inform us if you need further assistance.
- itchaiAnswered on November 23, 2014 at 05:28 PM
Hi again Shadae,
I did it; it worked; and it's great.
Thanks for your help.
- ShadaeAnswered on November 23, 2014 at 06:48 PM
You are most welcome. We are happy to hear that this worked for you.
Please feel free to contact us if you need further assistance.