Show/Hide Submit button on Catalog Item

Dazler
Mega Sage

Hi,

I have been tasked with creating a form that when this form loads the submit button is hidden. Then after specific fields have been validated based on an onChange clients script that I created to validate information inputted by the user, if it is correct then the submit button will show for the user to submit the form.

Is there a simple way to do this?  I know that many have said in other post to copy the OOB widget but this is just for this one specific form only.

I know that I can set it to block the user from submitting, but my VP wants me to see if the submit button can be hidden instead until validated.

Any help would be appreciated.

5 REPLIES 5

Joe DeStefano2
Tera Expert

This can be achieved by setting 'Use Cart Layout' to false and 'No Order Now' to true.  Then use a client script to set 'No Order Now' to false when needed.