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
Learn about the new Oracle AI Agent Studio for Fusion Applications: Watch Now

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

How to validate & restrict for beginning or ending spaces in Person Name object

Summary:

We have a requirement to restrict user not to enter spaces in the begining or ending in the first name.

Content (required):

We have written the below pattern to restrict the user not to enter spaces in the begining or ending in the first name. But how ever it is even display error msg when there is a space in between two words in the name.

^[^\s].*[^\s]$

When user enters "Aakar Rao" it is displaying error msg, ideally it should not display error msg. It displays error msg when we enter " AakarRao" as well as for "AaakarRao " (space in the starting or in the ending). How to resolve this issue?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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