- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 08:29 PM
Hi Team,
How can i disable a button on a form that i created using UI Action when one of the field's in a form has a certain value. For example -
If i want to Disable the button "Email" if "Col1" (col1) has a value of 5 and have it enabled for any other value of "Col1", how can i achieve that.
Thanks.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 08:39 PM - edited 02-14-2024 08:40 PM
Hi @irfanshaik
You can just put in the condition field in the UI action.
current.getValue("col1") != 5
But remember this is not real time, once you have the value populated on the page load the decision will happen, not in real time ie the value of 5 should be present when the form loads.
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 09:06 PM
Hi @irfanshaik
Please refer to the below screenshot-
current.getValue("col1") != '5';
Please mark my answer helpful and correct.
Regards,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 08:43 PM
Hi,
In the "Email" UI Action on your custom table add the below condition
current.getValue(col1)!='5'
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 09:06 PM
Hi @irfanshaik
Please refer to the below screenshot-
current.getValue("col1") != '5';
Please mark my answer helpful and correct.
Regards,
Amit