how to disable button when certain condition is false like i want disable my button when my value is negative in GSbackend and enable when it is positive
Use a custom action with a condition.
If condition is met â do action
If condition is not met â do nothing, or maybe show a notification
An alternative is to use a visibility setting to hide the button when a condition is true/not true.
Hi Darren,
Could you please explain this with an example and steps. Here is my scenario, clients wants to disable the button once itâs clicked.
Is the Member Eligible?
Yes No (Button Bar)
If the user clicks on Yes, the button bar is disabled.
Looking forward to your help.
regards,
Santosh
Then you should construct a custom action on the âYesâ side.
On the condition level, it should be âIf member eligibleâ is not Yes then add all actions you need below that.
Once you click Yes, that side of the button bar will be disabled since it does not fulfill the condition.
You usually associated actions with a âleft actionâ and not changing the display characteristics of the button - it is a very obscure side-effect for an âactionâ button.
Thank you very much for explaining - this was nowhere found in the docs for the Custom Form demo.