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.

Phone Number Format (###)###-####

  1. Hope for advice on how I might edit the code of the Gravity Forms plugin to format the phone number in the notification email another way. Right now it ends up like this (###)###-#### and I hope to add a space after paren (###) ###-#### or set like this ###-###-#### or even #########. The reason for that is the format does not work with a service we use that parses emails for phone numbers. I am aware of the International or plain text work around but those bring other issues without the input mask of the US phone field.

    Thanks in advance and thanks for this excellent program!

    Posted 12 years ago on Wednesday November 16, 2011 | Permalink
  2. You can use the JavaScript input mask which was introduced in 1.6 to force the exact format you want.

    http://www.gravityhelp.com/documentation/page/Input_Mask

    Posted 12 years ago on Wednesday November 16, 2011 | Permalink
  3. Chris,

    That was about as easy as it could possibly be. Thanks for pointing me in the right direction and for the amazingly quick response - Issue solved!

    Charles

    Posted 12 years ago on Wednesday November 16, 2011 | Permalink

This topic has been resolved and has been closed to new replies.