Pulling in Long Text Field into a Text field

  • garynealon2019
    Asked on December 31, 2019 at 12:32 AM

    Hi there,


    I'm having issues pulling in a long text field (which is a table built HTML) into a Text field. 


    The method I'm using to do this is using a custom URL for each customer to build a table for their order. For example: https://form.jotform.com/193436081056255?airtableData=%3Ctable%20width%3D%22100%25%22%3E%3Ctr%3E%3Ctd%3E%3Cb%3EItem%20Name%3C%2Fb%3E%3C%2Ftd%3E%3Ctd%20align%3D%22right%22%3E%3Cb%3EPrice%3C%2Fb%3E%3C%2Ftd%3E%3C%2Ftr%3E%3Ctr%3E%3Ctd%3EConsulting%2010%20Hours%20%3C%2Ftd%3E%3Ctd%20align%3D%22right%22%3E2000%3C%2Ftd%3E%3C%2Ftr%3E%3Ctr%3E%3Ctd%3EE-commerce%20Accelerator%20Event%20-%20Special%20Pricing%20%3C%2Ftd%3E%3Ctd%20align%3D%22right%22%3E5000%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftable%3E&OrderTotal=7000


    Previously, this URL would generate a table within the text field. However, it looks like your Text fields now automatically add the <p> and </p> tags at the beginning and end. (see attached photo) Because if the paragraph tags, the URL is now just showing me the raw html text instead of the table. Can you please tell me how to fix this.

    I built this form back in December and it was showing me the table properly but it's no longer doing so. Is this something Jotform changed on the backend?


    Thanks




    Jotform Thread 2095394 Screenshot
  • AndrewHag
    Replied on December 31, 2019 at 2:45 AM

    Please allow some time to test the issue. I'll get back to you via this thread as soon as possible. 

    Meantime, would you mind using the Rich Text Editor for the Long Text Entry field to display the data in a table format instead of passing it to the text field?

    1577778280The Easiest Online Form Builde Screenshot 10

    Please try this and let us know if that works for you.

  • garynealon2019
    Replied on December 31, 2019 at 3:04 AM

    The table works using the richtext format but the entire text box shows to the customer1577779429rich text Screenshot 10

  • garynealon2019
    Replied on December 31, 2019 at 3:05 AM

    And this is what it looks like when there is no richtext. The page shows all the HTML1577779510no rich text Screenshot 10

  • AndrewHag
    Replied on December 31, 2019 at 4:59 AM

    We can give the custom CSS code to hide the editor and just display the table.

    Here is the code:

    .nicEdit-panelContain{

    display: none;

    }

    #cid_11 div{

    border: none !important;

    }

    Here is the guide to add the CSS code: How-to-Inject-Custom-CSS-Codes

    This is how the long text entry field displays after adding the code:

    1577786333hjhbj Screenshot 10

    Try this and let us know if that works for you. Or we can send this thread to our backend team for further checking.

  • garynealon2019
    Replied on December 31, 2019 at 1:30 PM

    Thanks, the CSS code worked. I have a few more requests: 

    1) How can I make the richtext and the dollar amount fields view only sp the client cannot edit it?

    2) I tried making a payment last night but the payment didn't go through. Can you check why? This is the error I get. The Braintree Account has 3DS1 enabled but not 3DS2. Is this the reason?

    3) The Order Total field should be filling in automaticall from the URL but it's no longer doing so. It was working last night so I'm wondering if you can look into why.

    1577817030payment error Screenshot 10

  • John Support Team Lead
    Replied on December 31, 2019 at 3:56 PM

    1) How can I make the richtext and the dollar amount fields view only sp the client cannot edit it?

    You can add this custom CSS code below to disable user inputs to that field:

    .nicEdit-main {

        pointer-events: none;


    }

    2) I tried making a payment last night but the payment didn't go through. Can you check why? This is the error I get. The Braintree Account has 3DS1 enabled but not 3DS2. Is this the reason?

    I have moved this question to a separate thread: https://www.jotform.com/answers/2096077 

    3) The Order Total field should be filling in automatically from the URL but it's no longer doing so. It was working last night so I'm wondering if you can look into why.

    I have moved this question to a separate thread: https://www.jotform.com/answers/2096078 

    I will be responding to the additional questions shortly.