cancel
Showing results for 
Search instead for 
Did you mean: 

Change of Phone number format after saving

Former Member
0 Kudos

Hi,

We have a requirement of changing the format of the mobile number enetered while creating a person from UI to specified format like 123-456-7890 when the user enters the number as 1234567890.

Can anybody give some suggestion on how to do this ?

Thanks in advance.

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Syed,

You need to write the code in the Set Method of the attribute to manipulate the number according to your format.Now, if you are using a standard field to store mobile number...check whether the datatype is compatible and has enough length to store the modified number.

Pass the modified number to the variable VALUE in the Setter method.

Regards,

Masood Imrani S.

Former Member
0 Kudos

Hi Masood,

Thanks a lot for the answer. Iam not a developer and I'll catch hold of technical consultant and ask him to do the same which you have suggested.

Regards

Former Member
0 Kudos

Thanks a lot for your response. I could get the phone number format changed on save of contact person.

Regards

Answers (0)