Validations
Comments
-
How can we put validations for all the fields together for example if I want the user to only type numbers for phone that are equal to 10 and no letters and driver license ID only numbers and DOB only 10 on a form rather than making separate validation for each field?
[i]edited by myname on 3/1/2022[/i] -
[color=rgb(29, 28, 29)][font=Slack-Lato, Slack-Fractions, appleLogo, sans-serif]Hello,
[/font][/color][color=rgb(29, 28, 29)][font=Slack-Lato, Slack-Fractions, appleLogo, sans-serif]
You can achieve this by using Masked Text Box. You can use predefined Value Types provided under the properties section or define your custom string formatting using Regex.[/font][/color][color=rgb(29, 28, 29)][font=Slack-Lato, Slack-Fractions, appleLogo, sans-serif]
[/font][/color][color=rgb(29, 28, 29)][font=Slack-Lato, Slack-Fractions, appleLogo, sans-serif]I have made a project for your reference that achieves your requirement and attached it here. Please refer to this and also the documentation [/font][/color][url=https://documentation.decisions.com/docs/using-the-masked-textbox-control]Masked Textbox Control[/url][color=rgb(29, 28, 29)][font=Slack-Lato, Slack-Fractions, appleLogo, sans-serif] and let us know if you have any questions.
[/font][/color][color=rgb(29, 28, 29)][font=Slack-Lato, Slack-Fractions, appleLogo, sans-serif]
Regards[/font][/color][color=rgb(29, 28, 29)][font=Slack-Lato, Slack-Fractions, appleLogo, sans-serif]
[/font][/color][color=rgb(29, 28, 29)][font=Slack-Lato, Slack-Fractions, appleLogo, sans-serif]Osman Zama[/font][/color]
[i]edited by osman.zama@decisions.com on 3/8/2022[/i]
Howdy, Stranger!
Categories
- 2.1K All Categories
- 18 General
- 155 Installation / Setup
- 991 Flows
- 86 Rules
- 203 Administration
- 204 Portal
- 433 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 150 Datastructures
- 50 Repository
- 169 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 38 Settings
- 20 Active Directory
- 12 Version 7
- 34 Version 8