Buy Now
Sign in

CF6 - How to disable calendar or other field

jetroh , May 11 2017, 18:30
J
jetroh 23
May 11 2017, 18:30 #368020
In CF 6 how to disable a field?
Why does the calendar not have the event tab?

I use CF 6 to connect two calendars.
The start date of the second calendar is the date selected in the first calendar.
If the user uses the form correctly, everything works.
Unfortunately, if you select the second calendar first, the system allows you to select a date before the first calendar.
My idea is to turn off the second calendar and turn it on from the date selection event of the first calendar.
How can I do? In CF 5 there was the option to set each field as disabled or hidden.
J
jetroh 23
May 15 2017, 09:04 #368162
up
J
jetroh 23
May 15 2017, 09:06 #368163
Alternatively, is there a javascript method to compare the two dates before submit?
admin 28
May 15 2017, 11:06 #368171
 Answer
Hi jetroh,

Apologizes for the late reply!

In the "start calendar", set the "end calendar" to the 2nd calendar, and in the "end calendar", set the "start calendar" to the first one, then if you choose the "end calendar" first, and then try to select the start data, the selection of the start date will reset the 2nd calendar automatically.

Best regards,
Max
Max
If your main question got answered then please mark the answer using the button!
Did you try the new ChronoForms7 ? if yes then please send us your comments!!
J
jetroh 23
May 15 2017, 13:40 #368175
thaks, it's very simple solution and works fine
Can you modify topic for correct works of reserach function
admin 28
May 16 2017, 11:39 #368208
Hi jetroh,

Which topic should be modified ?

Best regards,
Max
Max
If your main question got answered then please mark the answer using the button!
Did you try the new ChronoForms7 ? if yes then please send us your comments!!