How to remove Address line 1 Text

  • Profile Image
    mgcaledonian13
    Asked on October 21, 2017 at 06:00 AM

    How can I remove the text "Address Line 1", "Address Line 2" etc. in a response email.

    I have notes that say I should use this, the numbers in red would be the id of the address field -: 

    {address236:addr_line1}

    {address236:addr_line2}

    {address236:city}

    {address236:postal}

    I looked at a previous response email that seemed to work OK and it had -:

    {address:addr_line1}
    {address:addr_line2}
    {address:city}
    {address:postal} 

    Neither of them seem to work in this Form https://form.jotform.com/50333233740949

     

     

  • Profile Image
    liyam
    Answered on October 21, 2017 at 07:25 AM

    Please take note that the address field name for capturing parameters may differ, depending on the actual name of the field in your form. Upon checking your form's HTML source, the address name should be the following to be used on your email alerts:

    {address375:addr_line1}
    {address375:addr_line2}
    {address375:city}
    {address375:postal}

    This is how I get to know what name to use:

    1) Open the properties of the field by clicking the properties button (gear icon) when editing the form
    2) Go to ADVANCED and scroll down

    1508584907address_field_-_get_unique_nam

    3) Scroll down and find the Unique Name. This unique name is the one that you should use for your template variable to make it automatically fill the information for your email alerts.

    1508585071address_field_-_get_unique_nam

    Feel free to let us know if you have questions.

  • Profile Image
    mgcaledonian13
    Answered on October 21, 2017 at 09:04 AM

    Thanks for your help.
    That was very strange as I had in {address375:addr_line1}   and your solution was {address375:addr_line1} which appears to be the same as far as I can see, is there something I am missing here.
    Would copying my Notes which was {address236:addr_line1} and changing the red number to 375 have any bearing on it at all, the number in red was there to remind me to change it when I put it into an email alert. Maybe there was some underlying code that came with the copy and paste, is that possible. it was "stored" in a Html editor file though so I would thought that this would have been "clean".

    Ah well the problem is solved.
    But comments would be helpful though. 


  • Profile Image
    liyam
    Answered on October 21, 2017 at 10:19 AM

    Thank you for the update. I'm glad it is now resolved.

    In concept, what matters is the spacing and other parts of the variable should appear as how it should be. So if there is an unnoticed spacing, that might cause for the variable to not work. It is also possible that there is a different content value in the HTML source if in case you had it as an anchor tag in your email alert settings.

    In any case, should there be any other problems or concern, feel free to let us know. :)

  • Profile Image
    mgcaledonian13
    Answered on October 21, 2017 at 10:45 AM

    Thanks.

    So the best way to put this in is to type in "fresh". I do that in future. 

  • Profile Image
    liyam
    Answered on October 21, 2017 at 12:15 PM

    An easier process I have in mind is to get the values from the Form Fields dropdown list found in the tool bar of the email alert

    15086023422017-10-22_0011.png

    This way, you get the actual variable for the field.