We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

Phone Details - make Work Extension fixed length

Received Response
1
Views
3
Comments
edited Feb 7, 2022 6:42PM in Human Resources 3 comments

Summary:

When adding Phone Details and selecting a type = Work Extension make the Number field length = 5

Content (required):

Hello,

I'm trying to get the desired behavior using an EL Expression but not getting the desired results.

#{row.bindings.PhoneType.selectedValue.lookupCode=='W0'?5:0}

This does work if a person has an existing work extension and it is edited. If data is already there and greater than 5 digits it gets truncated down to 5. However when adding a new extension the validation does not take place and more than 5 digits can be stored.

Is this even possible?

Thanks,

Jon


Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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