This project is read-only.

How to change the default phone number field?

Jan 13, 2011 at 12:59 AM


Instead of a phone number in the profile, I would like to make that field the extension number of that employee? What would I need to change? As of right now, I get an error that says, "invalid phone number."


Jan 13, 2011 at 8:14 PM

You just need to modify the regular expression in WebUI/profile.aspx in this control:

<asp:RegularExpressionValidator ID="regPhone"

To on that allows proper extension format (or just remove it all, but that could allow bad inputs and errors)