how to make attachment mandatory using catalog client script

Puneet4418
Tera Contributor

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.

3 REPLIES 3

Kieran Anson
Kilo Patron

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 

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.

Clients don't specify the technical solution. You should feel empowered as a consultant to provide the best possible solution.