want to do Work notemandatory within a PTASK when Due date & Follow up date are updated

raj765_32
Tera Contributor

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"

14 REPLIES 14

Tony Chatfield1
Kilo Patron

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.

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

You can add a condition to your policy of updates > 0

no it is not working