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 strip headers in address field and move each information to a new line in email notifier?

    Asked by specdirectedin on December 17, 2014 at 08:52 AM

    Hello

    I wonder if someone can help me out with how to get each address field on a different line in the email notification?

    I have currently coded out the 'Address line 2, Address line 2' etc with this code and wish to keep it this way -

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

    However, moving each {xxx} to a different line and adding a <br> does not work. It simply shows the <br> in the actual text of the address.

     

    So at the moment the address appears as: (Example)

    1 Green Road, Red Town, East North, EN32 7RF

    East North, EN32 7RF

     

    I'd like it to appear as:

    1 Green Road

    Red Town

    East North

    EN32 7RF

     

    is this possible by putting something in my above code?

    Page URL:
    http://www.lenses-in-glasses.co.uk/request-a-pack.html

    address field different email email notification does not work
  • Profile Image
    JotForm Support

    Answered by Welvin on December 17, 2014 at 10:11 AM

    Hi,

    I've fixed it for you. Kindly make a test and let me know if the output is still not your desired sequence.

    Thanks

  • Profile Image

    Answered by specdirectedin on December 17, 2014 at 10:49 AM

    Welvin - thank you so much, this is ideal!

  • Profile Image
    JotForm Support

    Answered by Kiran on December 17, 2014 at 12:55 PM

    You're welcome. It's our pleasure to assist you. 

    Please do not hesitate to get back to us if you need further assistance. We will be happy to help.

    Thank you for using JotForm!