Give us feedback
restrict-characters
Reactive icon

Restrict Characters

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 12 February 2023 by 
5.0
 (2 ratings)
restrict-characters

Restrict Characters

Documentation
1.0.0

Steps to use the client action:

1. Create a handler for the On Change Event of the input field.

2. Call the client action and pass the variable bound to the input field and the desired regular expression pattern for allowed characters as parameters.

3. Assign the output of the action to the same variable bound to the input field.

Note: It is recommended to clearly define the desired regular expression pattern for allowed characters to ensure the correct behavior of the client action. Use a website such as https://regex101.com/ to generate the pattern.

Note: Change the data type of the output in 3rd step using Outsystems built-in actions as required to match the data type of the variable bound to the input field.

Check demo here.