How to make variables in variable set mandatory?

Ansuha Chipuri
Kilo Guru

Hi,

I have catalog form with some variables and a variable set with few variables 

Now I want to make some variables mandatory on the variable set based on the variable value on the catalog form.

How can I achieve this.

Thanks in advance!!

1 ACCEPTED SOLUTION

Hi,

got it

Please use onload catalog client script which applies on Catalog Item and not variable set

then you can access the variables inside variable set using g_form object

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

11 REPLIES 11

@Ansuha Chipuri 

Thank you for marking my response as helpful.

Would you mind marking the best matching answer as correct and helpful, to close this thread so that it benefits future members?

Regards
Ankur

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ansuha Chipuri 

Hope you are doing good.

Did my reply answer your question?

If my response helped you please mark it correct to close the question so that it benefits future readers as well.

Regards
Ankur

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ansuha Chipuri 

Hope you are doing good.

Did my reply answer your question?

Would you mind marking best response as correct to close the question so that it benefits future readers as well.

Regards
Ankur

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ansuha Chipuri 

Hope you are doing good.

Let me know if that answered your question.

If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

If not, please let us know if you need some more assistance.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ansuha Chipuri 

Thanks for marking my response as helpful.

Let me know if I have answered your question.

If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader