Minimum input in text box
Comments
-
Hi,
I have created a manual complaint input form and one of the fields is a textbox where the employee inputs the loan #. I want to lock this down to requiring 10 digits. I see that I can put a max, but is there a way to require exactly 10 digits every time – no more, no less? Is there a better way of doing this than using a textbox?
Thanks!
-
Hi,
Of course you can do this. What you will need to do is create a Validation Rule" on the form with that text box you are using. You will write the rule to check if the Textbox Length Equals 10. Doing so will trigger the validation when it has less than 10 digits or more than 10 digits. You can also set what the Validation Error will say when setting it up. So in your case the validation rule can say "This textbox must have 10 digits". Here is the Rule I used : If { text Box length equals 10} Where textbox is the input from the Form Component.
Documentation about using Validation rules can be found here: [url=https://documentation.decisions.com/creating-a-form-validation-rule/]https://documentation.decisions.com/creating-a-form-validation-rule/[/url] and Applying Form Validation Rule : [url=https://documentation.decisions.com/applying-form-validation-rule/]https://documentation.decisions.com/applying-form-validation-rule/[/url]Thank you.
[i]edited by Akshada on 11/29/2017[/i]"
Howdy, Stranger!
Categories
- 4.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 111 Rules
- 282 Administration
- 216 Portal
- 500 General Q & A
- 718 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions