Validation Code to Block Special Characters in Identifier Field for Badge ID
Summary:
Hello Experts, I have implemented a JavaScript validation rule to restrict the Identifier field to numeric-only input when the Identifier Type is Badge ID. However, I want to confirm whether this is the correct approach and if there are any recommended improvements.
Content (please ensure you mask any confidential information):
We have a requirement where the Identifier field under Person Identifiers for External Applications must allow only numeric characters, but only when the Identifier Type = Badge ID.
If the user enters any special character, alphabet, or space, the system should block it and show a validation error. This is required to prevent invalid Badge ID values from causing failures in downstream integrations.
0