Element input masks¶
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[event] |
The event. |
[event:webform] |
The webform. |
[event:webform:access_rules] |
The access rules. |
[event:webform:input_masks] |
The input masks. |
[event] |
The event. |
[event:machine_name] |
The machine name of the ECA event. |
[session_user] |
The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
Fires when collecting available input masks for text-based webform elements. Input masks constrain user input to specific formats (e.g., phone numbers, dates, postal codes). Use this to provide custom input mask definitions.