How to disable the 'Next' button in an Order Guide ?

Pascal Flt
Tera Contributor

Dear all,

In an Order Guide, is it possible to grey out (disable) the 'Next' button from a Catalog Client Script ?

Thank you in advance for your help.

Best regards.

1 ACCEPTED SOLUTION

Michael Jones -
Giga Sage

Would this be in the Service Portal?

You can do this with a little jQuery. Add something like this to your catalog client script. 

this.jQuery('#submit').prop('disabled', true);

Sometimes you need to wrap these in a timer if you're doing it onload. 

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

I hope this helps!

If this was helpful or correct, please be kind and remember to click appropriately!

Michael Jones - Proud member of the CloudPires team!

I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

View solution in original post

6 REPLIES 6

bammar
Kilo Sage
Kilo Sage

You may have to find the UI page and comment it out. However this will mess with future updates. If it is in the Portal you would find the widget and comment out the HTML

Michael Jones -
Giga Sage

Would this be in the Service Portal?

You can do this with a little jQuery. Add something like this to your catalog client script. 

this.jQuery('#submit').prop('disabled', true);

Sometimes you need to wrap these in a timer if you're doing it onload. 

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

I hope this helps!

If this was helpful or correct, please be kind and remember to click appropriately!

Michael Jones - Proud member of the CloudPires team!

I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

Hi Michael,

Thank you very much, it works fine with setTimeout in an onChange client script 🙂
And yes, it is for the Service Portal.

Have a nice day,
BR

This is awesome, and works great for disabling the 'Next' button in the UI Policy I have it in where it's disabling the Next button when one of the fields on the Describe Needs page has a specific value.

What can I put in my UI Policy to have it re-enable the Next button when that field has the opposite value??

Thanks,

Brandon