CF6 - How to disable calendar or other field

Disable a calendar field in ChronoForms 6 to prevent date selection conflicts.

Overview

The issue occurs when users can select dates in a second calendar before selecting a date in the first calendar, causing logical errors in date ranges.
Configure the start and end date settings in both calendar fields to link them, so selecting a date in the first calendar automatically resets or restricts the second calendar.

Answered
ChronoForms v6
je jetroh 11 May, 2017
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.
je jetroh 15 May, 2017
Alternatively, is there a javascript method to compare the two dates before submit?
Max_admin Max_admin 15 May, 2017
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, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
je jetroh 15 May, 2017
thaks, it's very simple solution and works fine😉
Can you modify topic for correct works of reserach function🙂
Max_admin Max_admin 16 May, 2017
Hi jetroh,

Which topic should be modified ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.