Question
- Is it possible to do data validation for a form custom attribute?
- Can you use regular expressions to validate information in custom attributes?
- Can you force a phone number or email format for text attributes?
Environment
- Administrative Access to a Ticketing Application via either:
- Global TDAdmin access
- Application Admin access to the ticketing application
Answer
- There is currently no way to force email formatting, phone number formatting, numeric ranges, or other regular-expression type data validation on custom text box attributes in work management
- Text box fields allow the selection of one of three types, which have some validation:
- String: accepts letters, numbers, and symbols, you cannot restrict or require any specific characters
- Integer: accepts whole integer numbers, you cannot restrict the range
- Decimal: accepts decimal numbers, you cannot restrict the range
- As a workaround, you can use one or more of these options on your forms:
- Include static content on the form to help guide correct completion of the field
- Edit the attribute on the form in question and specify custom placeholder text to provide sample greyed-out example text in the field
If your organization has also purchased iPaaS, you can create an iPaaS dynamic form for collecting information, which does allow for data validation, and use an iPaaS flow to populate a corresponding Work Management form, which allows for technicians to respond to and support requests in the work management platform.