Reactive icon

Regex Generated Input Value

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 16 February 2021 by 
 (0 ratings)

Regex Generated Input Value

Generates a random value for an input using a RegExp Javascript object. Examples of values to generate: postal codes, codes..
Read more

For Reactive and Mobile apps, generate fake values for inputs in screens or blocks following a regex. By using the randexp.js library, a value can be automatically generated using a regex.

This component runs client code and doesn't call the server. Ready for offline scenarios.

To generate a value for an input:

  1. Add the "Regex_GenerateInputValue" block to the screen/block. Use one instance of the block per input;
  2. Fulfill the parameters of the block:
    1. [Mandatory] "InputId": Identifier of the input where to generate the value;
    2. [Mandatory] "JS_Regex": Javascript regex to use for the generated value;
  3. Click on the bullhorn icon  to generate the value.
Release notes (1.0.0)
Reviews (0)