Remove comma in front of Address field in emails

  • BarryRutten
    Asked on December 21, 2021 at 5:50 AM

    Hi, we are having an unnecessary comma at the start of our Home Address field in emails.

    We have tried creating new emails but this doesn't fix it. Can you please check and fix this issue from our Client personal data request form as it doesn't look good and seems an error?
    Form URL:
    https://form.jotform.com/213242301265442

    1640083719 61c1b107aff4e  Screenshot 10

  • Tommaso_F
    Replied on December 21, 2021 at 6:15 AM

    Hello there,

    Since you hid the first address It has an empty value, but the comma for it is still showing.
    So, instead of using {address} in the email, which is showing the empty first email, you need to add each field manually

    This code will help you to get the value of each field: 

    {address:addr_line1}

    {address:addr_line2}

    {address:city}

    {address:state}

    {address:postal}

    {address:country}

    You will need to replace the "address" with the name of your field, this guide will help you to get the name: How-to-find-field-IDs-and-names

    You may display each field on the Thank You Page, Email Notifications or send it through URL to another form or page.

  • ejusticpk
    Replied on December 28, 2021 at 6:42 AM

    Thanks for Making the Life Easier. I think Jot Form is the best Platform for the Solutions.