Grey out Next Button in Order Guide

sindhu43
Tera Contributor

Hi All,

 

I have a requirement that Next Button should be greyed out in Order Guide (Describe Needs) if all fields were selected as No. Attaching screenshot below:

sindhu43_0-1666359694762.png

How to achieve this? 

 

Thanks in Advance!! 

1 REPLY 1

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Please do the below:-

 

Use the below code in your onchange client script for the last variable once the user selects the last variable add the condition if all the variables are false then in bracket put the below code:-

 

setTimeout(function() {
        this.jQuery('#submit').prop('disabled', true);
    }, 500);
   

 

Please mark my answer as correct based on Impact.