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.3K All Categories
- 70 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 109 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 708 Forms
- 339 Reports
- 3 Designer Extensions
- 48 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 182 Datastructures
- 69 Repository
- 228 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 130 Lunch And Learn Questions