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

  • Profile Image
    specdirectedin
    Asked 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?

  • Profile Image
    Welvin
    Answered 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
    specdirectedin
    Answered on December 17, 2014 at 10:49 AM

    Welvin - thank you so much, this is ideal!

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