Online registration form - arrival, departure

How to create a registration form with a calendar that updates daily.

Overview

The user needed to add arrival and departure date fields where the default dates change automatically each day.
Use the calendar element's advanced settings to set the earliest and latest dates, and configure a custom code element to dynamically set these values to today's date and the next day.

Answered
ChronoForms v6
sy sylwekb 11 Aug, 2017
Hello
I would like to make an online registration form.

1 arrival - I would like to insert a calendar where dates would update daily. How to do it? Is there any tutorial for this?
2 departure - I would like to insert a calendar where dates would update daily. How to do it? Is there any tutorial for this?

3. Adults - Check boxes 1-10
4. Children - Check boxes 1-10
5... Personal data of the registrant eg Name, Address, e-mail, phone
Message
Send

Please help me
Gr GreyHead 11 Aug, 2017
Hi sylwekb,

For clarity - what do you mean by 'update daily'?

Bob
sy sylwekb 11 Aug, 2017
Just like on this site, please scroll and look bottom registration form
Eg arrival date 11 August 2017 Friday
Departure 12 August 2017 Saturday
Adults 2, Children 0

If I understand correctly, the date of arrival and departure on this form changes daily?
Gr GreyHead 12 Aug, 2017
Hi sylwekb,

I'm not very familiar with CFv6 yet but I see that there are Earliest date/time and Latest date/time boxes on the Advanced tab of the Calender element. I expect that you can add data identifiers in there and set the values of those to e.g. today's date and tomorrow's date using a Custom Code element in your form.

Bob
sy sylwekb 21 Aug, 2017
Is there any tutorial on how to set this date in code? I can go on chronoforms 5 if it is more friendly.
Gr GreyHead 21 Aug, 2017
Answer
1 Likes
Hi sylwekb,

Please see this FAQ for CFv5 - I imagine that CFv6 is similar.

Bob
sy sylwekb 22 Aug, 2017
It seems that I was able to complete this form and it works fine.
This topic is locked and no more replies can be posted.