cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Enable / Disable button

Highlighted
Newbie

Enable / Disable button

Is there a way to disable a button based on a validation otp, I know how to set the visible attbte, but I dunno how to enable / disable the button.


Thanks Adam & regards.



6 REPLIES 6

Enable / Disable button

Currently we don't have the ability to disable buttons.

Highlighted

Enable / Disable button

Hello Pai:

So what is the approach or suggestion that you will make to me, I can't let the user click the button if the condition is not going, I used the Show Message to let the user know, but I need sometime else.

Highlighted

Enable / Disable button

If your use case permits it, you can bind the visibility property of the button to the output of your validator widget. If the output is true, the button will be visible, and if it if false, it will now.

Highlighted

Enable / Disable button

Yes I did it before, that's what i don't want to, anyway I created a selective child mashup, but I could avoid reworking if that enable / disable property were there.


Greetings.



Highlighted

Enable / Disable button

The other way to do this, if the click ability is condition based, you can allow the click, but use a Validator Widget to either return a message that the condition is not yet met, or execute the actual service if it has been met.

Highlighted

Enable / Disable button

Thank You Pei

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!