- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2024 12:45 PM
Hi
I want to make Work Notes field mandatory if there any changes in Time worked field. I have tried this onchange client script but it is not working. Here I made field name as Time Worked.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2024 01:38 PM
Hi @abusaleh_quader,
The 'time_worked' field on task and all of its child table is type "Timer". Your client script works on a string field, but not 'time_worked' on any task record due to it being type "Timer". You will need another means to achieve your goal. Maybe a business rule that runs and displays an Error and aborts the transaction if that value changes and 'work_notes' is empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2024 07:46 AM
Here's a BR, A client script doesn't work for that field. My BR is defined on a custom child table of task.
Not the best user experience, since the field is a Timer. And a test of the BR indicates the 'time_worked' field must be present on the form.