Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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.
Currently we don't have the ability to disable buttons.
Hello Pai:
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.
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.
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.
Thank You Pei