UI action on a reference field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2014 02:39 PM
I'm a newbie learning scripting. I want to add a UI action to a form. This UI action adds a button when a field contains the word Test. The word, Test, is selected from a list of services available to a certain user.
When I add the condition current.u_category != 'Test' in the UI action condition then go to execute the form, the button appears on all the forms before u_category contains anything.
Do I need the clear the field first? What am I not understanding?
MK
- Labels:
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2014 07:44 AM
Would this new button take the user away from the original form? What if you show the button and user clicks it and changes the u_category?
I would still use the UI Action you've created, but wait to show the button until the record is saved, which is how the UI Actions work.
Good luck!