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.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions