Create Custom Masked Textbox
Comments
-
Is there a way to initially have 59 before the user starts inputting the rest? In this format: 59-____-____-_
[quote=kenan@decisions.com]Hello,
This example is showing a sample custom masked text box. I used a simple flow with a simple form only containing one Masked Text Box. If you open that form and click on that Masked Text Box and open properties on the right side, you will see the settings under Properties tab.
First of all, you should select "Custom" by using the Value Type drop-down menu. Below Value Type you will see some Regex coding (^d{2}-?d{7}$). The regex coding is a sample for creating 99-9999999 format input for Text Box. You can change the "2" and "7" numbers in the coding to create your own "-" separated custom input. If you want to create new different format please refer to [url=https://documentation.decisions.com/advanced-masked-textbox/]https://documentation.decisions.com/advanced-masked-textbox/[/url] or [url=https://regexr.com/]https://regexr.com/[/url]
Below regex coding, you should write formatting in the Custom Display Mask field by using 99-9999999 format. If you dont fill Custom Display Mask, your form gives validation error to users, but cant show the required format according to your regex settings.
You can find screenshots and sample zip file as an attachment. I hope this example helps you to build your own Custom Masked Textbox.
[img]att2[/img]
[img]att3[/img]
[i]edited by Kenan on 11/30/2018[/i]
[i]edited by Kenan on 11/30/2018[/i]
[i]edited by Kenan on 11/30/2018[/i][/quote]
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