UI actions are generally considered to be a server-side script, but they can also run as client-side script, too. We will cover an introduction to UI actions and their basic usage in the server-side basics in the next chapter. Here, though, we will look at the more advanced techniques of running UI actions on the client side.
UI actions
Client-side UI actions
To change a UI action to run client-side script, we first need to check the client field tick box. This brings up some additional fields, including the checkboxes to select which list versions the UI actions will be compatible with, but the main new field we are interested in is called onClick.
The onClick field runs the client code contained inside it when the...