You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!