Remove () from phone number on form

Kevin MacNiven asked on March 11, 2014 09:37

Is there a way to stop the ( ) from displaying on the form for the US Phone Number?

Recent Answers


Richard Sustek answered on March 11, 2014 09:42

Hi,

Thank you for your message.

You mean the US phone **Form control?

It surely possible, if you go to CMSFormControls/Inputs/USPhone.ascx file you can change it right away.

Let me know how that works.

Kind regards,

Richard Sustek

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on March 12, 2014 17:32

I would do as Richard suggests, although I'd copy the control and make the code modifications you need then add it back in the UI as a new form control the user can choose from that doesn't have the ( ) around the area code. Here are the developer docs on creating form controls.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.