What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to remove form address field labels from email alert

    Asked by LeoC2 on April 01, 2013 at 05:02 PM

    Emailed info label changes

    When using the Quick Tools fields such as the Full Name and the Address the resulting email data looks somethinglike this:

    John Doe
    Street Address: 1 Elm St.
    City: Anytown
    State / Province: NY
    Postal / Zip Code: 11801
    Country: United States

    Is there a way to remove the labels so we get this:

    John Doe
    Elm St.
    Anytown, NY 11801
    United States

    That makes it a lot easier to cut and paste the data into a database for example.


    label address labels address field
  • Profile Image
    JotForm Support

    Answered by Mike_T on April 01, 2013 at 05:13 PM

    Thank you for contacting us.

    This is possible. You will need to adjust the email notification template:

    How to Strip Headers from Postal Addresses in Email Alerts

    Example:

    use

    {address14:addr_line1}, {address14:addr_line2} 
    {address14:city}, {address14:state} {address14:postal} 
    {address14:country}

    instead of standard (tag 'address14' name can be different, it is based on the field label)

    {address14}

    Please feel free to contact us if you need any further assistance.

  • Profile Image

    Answered by LeoC2 on April 01, 2013 at 05:48 PM

    Thanks! Works like a charm. One thing though, I have the hide blank field option enabled but it doesn't seem to work. Not a biggie but it would be nice if it did.

  • Profile Image
    JotForm Support

    Answered by Mike_T on April 01, 2013 at 05:58 PM

    You are welcome. The hide empty fields option is not working on custom email notifications at this time. However, we have received multiple similar inquiries from JotForm users, so it will be probably implemented at some point. Thank you.