how to make attachment mandatory using catalog client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 09:02 AM
Hi,
I have a requirement to make attachment mandatory and avoid request submission when user select "Yes" for a variable "document_id" and there is no document attached.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 09:06 AM
Rather than making the attachments mandatory on the catalogue item, have you considered using an attachment variable? You can have better control on making that mandatory without requiring any scripting.
It's also a more intuitive user journey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 09:39 AM
Hi @Kieran Anson , Thanks for your response. But that is the requirement from our client, I am trying to achieve this via catalog client script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 09:44 AM
Clients don't specify the technical solution. You should feel empowered as a consultant to provide the best possible solution.