Checking if a Date/Time field is empty in a client script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2018 03:15 AM
Hi All,
I have created a new field on the task_sla table called "Actual Breach Time". I am trying to create a client script that sets the actual breached time field when the stage field changes to breached. This is what I have so far:
It works when I remove " && g_form.getValue('u_actual_breach_time') == null". But I need to ensure that the Actual Breach Time (Date/Time) field is empty as well.
Please advise.
Best regards,
BVQ
Labels:
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2018 05:45 AM