want to do Work notemandatory within a PTASK when Due date & Follow up date are updated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 07:13 PM
Hi can anyone help me with the code for making the work notes mandatory when due date and follow up date is updated in p task form.
When a user inserts a value within the "Due date' and "Follow up date" field of a PTASK, on save or update of the form, make "Work notes" field mandatory
Throw out a message that reads:
"Work notes field requires a values to save the form"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 07:26 PM
Hi, I would look at using a UI policy for this requirement.
You can add the message via the UI policies script fields and standard g_form message methods.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 07:27 PM
This message should not pop up for new records, this message should pop up only when they are updating with new values and after they save the form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 07:35 PM
You can add a condition to your policy of updates > 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 07:53 PM
no it is not working