better-forms
Reactive icon

Better Forms

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 13 Dec (22 hours ago)
 by 
5.0
 (1 rating)
better-forms

Better Forms

Documentation
1.0.0
  1. Download and install BetterForms in your environment
  2. Add a dependency to the Form_Validate client action
  3. In your screen action, add a javascript node with the code: `$parameters.ValidationContext = $public.Validation;` (where $parameters.ValidationContext is an output parameter of type Object) *
  4. Drag it to your action flow and assign the ValidationContext input parameter
  5. For each field of your form, add an entry with WidgetId (from the Widget Tree) and one or multiple validations
  6. Add an IF to check the IsValid boolean output of the Form_Validate action


* There is no way to wrap this step because of how $public context works under the hood. See this post for more information. Inside BetterForms_Lib there's a README action with the javascript node ready to copy and paste to your flow.