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.

Special Field Formatting

  1. Please help this post be a resource for all things "special formatting" -- a one-stop-shop of "how-to"...

    1) Put currency symbol (e.g. $) and punctuation (e.g. commas and periods) for money fields
    Example question: How much did you pay for your item? ______ $1,572.00 ______

    2) Telephone numbers
    Example question: What is your cell#? ____ 555-555-5555 ____
    -or-
    (555) 555-5555
    -or-
    (555)555-5555 (no space)

    3) Social Security Numbers
    Example: 123-45-6789

    4) EINs (Federal ID)
    Example: 12-3456789

    5) custom ID fields
    Example: A###-###

    So... How can all these be done -- both in the form field entry (front-end) side and in the display side (back-end)?

    Please and thank you.

    Posted 9 years ago on Tuesday June 5, 2012 | Permalink
  2. Found some documentation that answers some of these items. :)

    Phone, Date, Tax ID, SSNs, custom ID fields, zip codes, and more...

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

    Way to go Gravity Forms!

    Still needing something for perfect currency formatting (item #1), but that's it! :-)

    Posted 9 years ago on Saturday June 9, 2012 | Permalink
  3. Magic... Currency Formatting code here: http://gravitywiz.com/2012/05/24/format-field-as-currency/

    That's all folks! :)

    Posted 9 years ago on Sunday June 10, 2012 | Permalink
  4. David Peralty

    Glad you found what you need. :)

    Posted 9 years ago on Monday June 11, 2012 | Permalink

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