You can enable phone number field validation in the person application.
About this task
To enable phone number field validation for the person application, complete the following steps:
Procedure
1. To enable phone number length validation, set the value of PMSDPHONELENGTH:
Click Go To > System Configuration > Platform Configuration > System Properties.
i. Under Property Name, locate PMSDPHONELENGTH. You can click Filter and type part of the property name, like “PMSD” and press Enter.
ii. Next to PMSDPHONELENGTH, click View Details View Details to expand the property.
iii. In the Global Value field, type the value or comma-separated values you want. Example 1: Set PMSDPHONELENGTH to 12. A phone number of length 12 is enforced including all special characters. 512-555-5555 would be a valid phone number. Example 2: Set PMSDPHONELENGTH to 12,14. A phone number of length 12 or 14 is enforced. 512-555-5555 or (512)-555-5555 would be valid phone numbers.
iv. Click Save Save to save the record.
2. To enable phone number content validation, set the value of PMSDPHONECONTENT:
i. Click Go To > System Configuration > Platform Configuration > System Properties.
ii. Under Property Name, locate PMSDPHONECONTENT. You can click Filter and type part of the property name, like “PMSD” and press Enter.
iii. Next to PMSDPHONECONTENT, click View Details View Details to expand the property.
iv. In the Global Value field, type the characters that you want to allow. Example 1: Set PMSDPHONECONTENT to 0123456789. This allows only integer values for phone numbers. 5125555555 is a valid phone number. Example 2: Set PMSDPHONECONTENT to 0123456789-(). Integer values and the characters -, (, and ) will be allowed. (512)-555-5555 is a valid phone number.
v. Click Save Save to save the record.
What to do next
After any property value is changed, you must restart MXServer.
No comments:
Post a Comment