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 the labels form the address field in email alerts?

    Asked by CelesteInTex on March 07, 2016 at 06:19 PM

    My client doesn't want labels to be included in her registration forms.

    For example, is there a way to block or not include the bolded text below?

    She wants the data returned to her in a way that would allow her to copy and paste in a Word or Excel doc.

    Thanks so much!

    Workshop WorkshopXY!
    Participant #1 Celeste

    Address

     

     

    Street Address: 123 Main Street
    City: Any Town
    State / Province: ST
    Postal / Zip Code: 12345
    Country: United States
    Page URL:
    http://www.trustingyouareloved.com/sandbox/programs/trusting-you-are-l<br/>oved-registration/

    in a excel table block zip code
  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 08, 2016 at 01:52 AM

    Hello,

    I am not sure if I have understood your requirement correctly. Do you mean to say that you want to remove the labels from the address field of your email alert?

    Yes it is possible to achieve your requirement and you may like to take a look at the following guide which should help you:  http://www.jotform.com/help/92-How-to-Strip-Headers-from-Postal-Addresses-in-Email-Alerts 

    If you want to remove the question labels as well (eg: Workshop, Participant #1, Address), you will have to edit your form's email alert and then delete the question labels. Please check the screenshot below:

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by CelesteInTex on March 08, 2016 at 04:13 PM

    I'm not quite getting this.

    In the link you posted "How to Strip Headers..." this instruction is confusing to me:

    5. Choose an address field that you would like to strip the headers. Copy that address field tag. Press Enter key in your keyboard to add space. Paste the address field tag, in this case, paste up to six (6) tags. Then add a COLON before the closing tag } (right parenthesis) followed by the following strings:

    addr_line1

    addr_line2

    city

    state

    postal

    country

    Where did the 'addr_line1' and 2 com from?

    This is what my form looks like:

     

     
      jotform.com  
     
    Question Answer
    Workshop {workshop}
    Participant #1 {participant1}
      {address16}
      {phoneNumber7}
      {altPhone}
      {email4}
    Participant #2 {participant2}
      {participant25:participant25}
      {phoneNumber}
      {altPhone27}
      {participant219}

    Can you give me specific instructions for how I can get the email to look like this?

    Celeste

    123 Main Street

    Anytown, Anystate, 12345

    123.456.7890

    celeste@myemail.com

    In other words, no labels, just the participant's data.

     

    Thanks!

     

  • Profile Image
    JotForm Support

    Answered by Chriistian on March 08, 2016 at 10:54 PM

    In step 5, you need to add the following: addr_line1, addr_line2, city, state, postal, country to your email alert.

    First, check the name of the address field by clicking the gear icon then selecting Edit Properties.

    As you can see, the name of the field is {address}.

    You can now use this info for setting up the email alert. Combine the name of the field with the addr_line1, addr_line2, city, state, postal, country and format the text so they look like this:

    {address:addr_line1}

    {address:addr_line2}

    {address:city}, {address:state}, {address:postal}

    {address:country}

    If the address 2 is not in your field, then you do not need to add the {address:addr_line2}.

    Paste the text in your email alert like the screenshot below.


    This is how the address should now appear in the email:

    You can then further customize your email alert to achieve your desired result.

    Here's a demo form so you can see it in action: https://form.jotform.com/60678498563978 

    If you need further assistance, do let us know.