Non-Mandatory attachment error message

nitin muchate
Tera Contributor

Hello,

We have created two field's type "file attachment", one filed is set as mandatory & another is non-mandatory (optional).

Case1: When attaching mandatory attachment & kept non-mandatory as blank it will work as expected.

Case2. When attaching both mandatory & non-mandatory attachment, it will show error message on non-mandatory filed as "The following fields contain errors: field name".

We have checked in client script as well as UI policy but not found any solution

Anyone can help to troubleshoot such issue.

 

Regards

Nitin

 

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Please share the code snippet. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hello,

We have created simple UI policy Also we tried to set Optional attachment Mandatory to false. but no success.   UI_Policy.png