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
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions