how to disable /Hide the submit button in catalog item for certain condition

String
Kilo Sage

Hi Team ,

We need to disable /hide the submit button when check box is true 

Screenshot 2023-03-11 at 12.08.51 AM.png

 

Please guide me :

 

1 ACCEPTED SOLUTION

Ashir Waheed
Kilo Sage
Kilo Sage

Hi @String 

You can achieve it by using Catalog Client Script on Submit.

 

1. Create a On submit Catalog Client script.

2. Write the script as follow.

AshirWaheed_0-1678475114134.png

3. When the TonerEnabled is checked you can submit the request else you will receive the alert. You can modify the alert or add info message based on your requirements

AshirWaheed_1-1678475194260.png

 

Regards,

Ashir Waheed

 

View solution in original post

5 REPLIES 5

sonalihanda
Tera Contributor

Hello All, My Name is Sonali.

 

We can also hide the Submit button on a catalog item without using a script by following these steps:
Go to the Service Catalog table (sc_catalog), search for the specific Catalog Item (sc_cat_item)

where changes are needed, then in the related list, modify the “No order now” field in the personalized list.

Please click Helpful if you find this information useful.