PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Trimming phone field white space

  1. webcitymedia
    Member

    We are using the phone field (xxx) xxx-xxxx format. We just had a complaint that the form was returning a phone field error. It was found the user could enter a leading or trailing space around a correctly formatted number or enter two spaces between the area code and the rest of the number generating the error. Any suggestions to remove all spaces from the phone field to avoid this customer input issue?

    Posted 11 years ago on Saturday October 20, 2012 | Permalink