How to make attachment field mandatory with asterisk in catalog item form?

VojjalaS
Tera Contributor

Hi everyone,

I'm working on a Catalog Item form in ServiceNow and I have a requirement to make the Attachment field mandatory. Specifically, I want to
Display a red asterisk (*) next to the attachment section so that users know it's required — just like how other mandatory fields show it.

 

Would appreciate any suggestions, client scripts, or best practices for this kind of use case.

4 REPLIES 4

debendudas
Mega Sage

Hi @VojjalaS ,

You have me check the field "Mandatory Attachment" of the catalog item, which will make Attachment mandatory.

debendudas_1-1755633335926.png

 

debendudas_0-1755633282686.png

 

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍

 

Thank you for your solution but I would like to know how to add red asterisk (*) for below kind 

VojjalaS_0-1755880614013.png

Would appreciate any suggestions, client scripts, or best practices for this kind of use case.

 

 

Red asterisk will automatically come when you will check the field "Mandatory Attachment" of the catalog item to TRUE.

 

debendudas_0-1755882536822.png

debendudas_1-1755882549560.png

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up👍

 

Rafael Batistot
Tera Sage

Hi @VojjalaS 

When you create a new variable flag the "Mandatory" field true

RafaelBatistot_0-1755633421932.png