Making comments mandatory on dialog box on Risk assessment form

Mohammed Rafi S
Tera Contributor

Hi All,

I need to make the comments field mandatory on dialog box on Risk assessment form. Please let me know how this can be achieved. PFA screenshot

find_real_file.png

Thanks in Advance

4 REPLIES 4

Anurag Tripathi
Mega Patron
Mega Patron

What dialog box is this? Is this a ui page?

 

-Anurag

Hello,

It is a UI script which is OOB and used in UI action(OOB again).

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

check which UI page it is calling.

Have validation onSubmit of that to check if comments text area is empty or not

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Aly
Tera Contributor

Hello Mohammed,

 

Do you have an answer to your question ?

I'm trying to make the comment field mandatory for a certain answer.

I want it to be mandatory even before opening the dialog box.
Any ideas ?

 

Best regards,

Aly