How to strip headers in address field and move each information to a new line in email notifier?

  • Profile Image
    Asked on December 17, 2014 at 08:52 AM


    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} 

    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?

  • Profile Image
    Answered on December 17, 2014 at 10:11 AM


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


  • Profile Image
    Answered on December 17, 2014 at 10:49 AM

    Welvin - thank you so much, this is ideal!

  • Profile Image
    Answered 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!