On Change Client Script: Planned Start and End Date (1st time not working, but second time works)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2024 09:23 PM - edited 01-28-2024 09:29 PM
Hi Everyone,
As an implementer, we implemented a change for Normal or Emergency. And we've got a requirement to select a check box (check or uncheck) based on day-time activity.
If it is 1 to 6 AM, the check box should be unchecked, and the reset of the timings should be considered a daytime activity (the check box should be checked).
We wrote a client script called Planned Start and End Date, along with script include. This is working only for the second time if you change timings, but on the go or fly, it's not validating for the first time.
Kindly help to suggest any solution or ideas to fix this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2024 10:52 PM
Have you written it onChange?
How about making it run on load as well?
you can try removing isLoading from below and test again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 11:37 PM
Hi @Sonam_Tiwari,
Thanks for your input. Yes, it's an onChange, and I tried removing isLoading, but no luck.
Cheers,
Vignesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2024 11:04 PM
Can you please share your configuration? (client script)
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 10:58 PM
Hi @Anil Lande,
Thanks for the update. I've attached here the planned Start and End Time client script (zip) for your review and suggestions.
Thanks,
Vignesh