Whenever I enter a value in a field called FTE for Face, I should see a field called Req to assign

harivas
Tera Contributor

Whenever I enter a value in a field called FTE for Face, I should see a field called Request to assign. Whenever I remove a value in FTE for face that field should be hide. I have done this through UI policy but whenever I enter a volume in FTE for face and click cursor to side only I see the field named Request to assign and whenever I remove the value and click cursor to side again the Request to assign field is hide. will be So without clicking cursor the side whenever I enter the value as one immediately I see the Request to assign field, it is in catalog item can anyone help me.

 

2 REPLIES 2

Anil Lande
Kilo Patron

Hi,

This is expected behaviour in ServiceNow. Until user enter data and move to next field or click outside of field the validation is applied.

 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Amit Verma
Kilo Patron
Kilo Patron

Hi @harivas 

 

This is an expected OOB behavior from ServiceNow On-Change Client Script. I could think of DOM Manipulation to achieve your requirement but that's not the recommended practice from ServiceNow. 

 

Also, the On-Change Client Script works well if the field switch is being done through tabs as well. Potentially, you can save some clicks by making use of tab key.

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.