On Selection
Last updated 30/03/2026
Overview
The On Selection event is a client-side event that executes when a user selects a menu item that references a process or mail merge. This event executes immediately upon selection, before any server-side processing or rendering occurs. It allows the application to respond instantly to the user's action at the UI level.
How it Works
When a process or mail merge menu item is selected:
- The On Selection event executes on the client.
- No page rendering or server communication has occurred yet.
- It can be used to prepare, validate, or control what happens next.
Use Cases
- Check if required data is available before continuing with the process or mail merge
- Display a message or confirmation prompt before proceeding
- Decide whether to allow the process or mail merge to continue
- Set temporary values, flags, or states in the interface