my question is consider a two fields arrival date and departure date these fields are date and time data type , by default departure field is lock when insert a date on arrival field then departure field has to unlock.
my question is consider a two fields arrival date and departure date these fields are date and time data type , by default departure field is lock when insert a date on arrival field then departure field has to unlock.
Hello ONENEXT,
Please share some screenshots and the technical name of your fields...It will help to solve your issue
Hi,
The code is something like the following snippet.
function setDeparturedate (executionContext) {
var formContext = executionContext.getFormContext();
formContext.getControl("new_departuredate").setDisabled(false);//Use the name of the field
};
Please set it on the OnChange event of the "Arrival Date" field.
Then the "Departure Date" field can be unlocked when "Arrival Date" field has been changed.
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
Best Regards,
Nya
I need a js code .
Daivat Vartak (v-9d...
181
Super User 2025 Season 1
Siv Sagar
149
Super User 2025 Season 1
Vahid Ghafarpour
124
Super User 2025 Season 1