Title: Mandatory field not showing * indicator when updated

GeemolJ
Tera Contributor

I’m working on configuring the Caller field in ServiceNow. I’ve set it to be mandatory, but when I update the form, the field does not display the red asterisk (*) mandatory indicator. The field is correctly configured as mandatory. On form load, it behaves as expected. But after an update or when certain conditions are applied, the asterisk is missing. Has anyone experienced this issue before?

4 ACCEPTED SOLUTIONS

J Siva
Tera Sage

Hi @GeemolJ 
Could you please share the screenshots?
Regards,
Siva

View solution in original post

RaghavSh
Kilo Patron

Can you share your client script or ui policy being used for making this mandatory?


Raghav
MVP 2023

View solution in original post

SD_Chandan
Kilo Sage

Hi @GeemolJ,

please share the script which condition your are using further.
and check review all UI Policies and Client Scripts that target the "Caller" field on the form. Ensure that no script or policy is inadvertently setting the field as read-only or overriding its mandatory status in a way that conflicts with the desired behavior.

If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. 

Thank you
Chandan

View solution in original post

Nikhil Bajaj9
Giga Sage

Hi @GeemolJ ,

 

You need to check if any UI policy/client script/flow is making this field as non mandatroy on other field change [on change] or based on certain conditions. If it is PDI then share which table/field you are using, alongwith UI policies and client scripts. If it is Official environemnt you need to debug having all the pointers i have shared.

 

If my answer helped you, please mark it- solution accepted. 

 

Regards,

Nikhil Bajaj

 

 

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj

View solution in original post

4 REPLIES 4

J Siva
Tera Sage

Hi @GeemolJ 
Could you please share the screenshots?
Regards,
Siva

RaghavSh
Kilo Patron

Can you share your client script or ui policy being used for making this mandatory?


Raghav
MVP 2023

SD_Chandan
Kilo Sage

Hi @GeemolJ,

please share the script which condition your are using further.
and check review all UI Policies and Client Scripts that target the "Caller" field on the form. Ensure that no script or policy is inadvertently setting the field as read-only or overriding its mandatory status in a way that conflicts with the desired behavior.

If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. 

Thank you
Chandan

Nikhil Bajaj9
Giga Sage

Hi @GeemolJ ,

 

You need to check if any UI policy/client script/flow is making this field as non mandatroy on other field change [on change] or based on certain conditions. If it is PDI then share which table/field you are using, alongwith UI policies and client scripts. If it is Official environemnt you need to debug having all the pointers i have shared.

 

If my answer helped you, please mark it- solution accepted. 

 

Regards,

Nikhil Bajaj

 

 

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj