Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

UI action on a reference field

mlklein
Kilo Contributor

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

5 REPLIES 5

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!