Strip Address Fields Placed On My Thank You Page Not Showing Any Information

  • Profile Image
    digi3dworks
    Asked on February 02, 2015 at 10:26 AM

    I can not this to work on the thank you page (I'm creating a shipping label the customer can cut off and use..

     

    I put in {address:addr_line1} but I get nothing. No error, no infomration but it was entered in the form.

    The field name is: {address}

    The field input is: #input_109_addr_line1, #input_109_addr_line2, #input_109_city, #input_109_state, #input_109_postal, #input_109_country

     

    Can anyone help



    This is a re-post of a comment on How to Strip Headers from Postal Addresses in Email Alerts

  • Profile Image
    Sean
    Answered on February 02, 2015 at 12:07 PM

    Hello digi3dworks,

    I am more than happy to help out. If I am not mistaken, you would like to strip the fields within your address field and display them individually on your thank you page?

    I have created a demo form to demonstrate how you can get this done.
    http://form.jotformpro.com/form/50324335401946

    Step 1: Get the name of your address field



    Step 2: Configure your Thank You page to display the information

    On my form my address field name is {address1}. Now to print each field within the Address field separately I need to place the following fields on my thank you page.

    {address1:addr_line1}
    {address1:addr_line2}
    {address1:city}
    {address1:state}
    {address1:postal}
    {address1:country}

    Please not that there should not be any space between the field name (address1), the colon (:) and the name for each field (addr_line1).



    Give what I have suggested a try and let us know if the issue persist. Looking forward to your response.


    Cheers!
    Sean

  • Profile Image
    digi3dworks
    Answered on February 02, 2015 at 12:30 PM

    Interesting... I have changed the field to match your name:

    Here is the Thank You page code:

     

    Here the results:

     

    I'm sure I'm doing something wrong, but I can not figure it out...

  • Profile Image
    Sean
    Answered on February 02, 2015 at 12:48 PM

    Hello digi3dworks,

    The difference that I notice in your screenshot is that you still have the highlight on the text and mine does not.

    Yours:


    Mine:


    It is possible that the formatting for the highlighted text is causing some kind of issue. Could you try pasting the text as "Plain Text" on your thank you page?

    {address1:addr_line1}
    {address1:addr_line2}
    {address1:city}
    {address1:state}
    {address1:postal}
    {address1:country}



    You can delete whats there and type the fields names as shown above. Do let us know if anything changes.


    Cheers!
    Sean

  • Profile Image
    digi3dworks
    Answered on February 02, 2015 at 01:48 PM

    Many thanks that was it.. the formatting... I figured to get it work I would replicate your stuff... I guess I took the cut and paste to far... 

  • Profile Image
    Mike
    Answered on February 02, 2015 at 02:56 PM

    On behalf of my colleague Sean, you are quite welcome. Thank you for using our service.