On Load client script to restrict the user from submitting the catalog request

Kalik1
Tera Expert

I want to disable Submit/Order Now button or hide all the variables or anyway restrict the user to submit the request in a catalog item based on the validation done on On-Load Client script.

How can I do that?

1 REPLY 1

Ashish21
Giga Expert

Hi,

onLoad Client will not work to restrict the submission.
Please create onSubmit Client script and write "return false;" to stop the submission.

 

Please accept the solution if it resolves your query.

 

Thanks,

Ashish