What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to Display Specific Text Box's Name?

    Asked by davidzielke on November 11, 2015 at 05:11 AM

    I want to display a table via the html box. Editing the html code and create a html table works perfectly fine. But I'm thinking of creating a html table dynamically. This means, based on a selection from the user the table has lets say 3-5 rows. I thought I can realize this by generating the html code for this table by using logical conditions and output this to a normal text box. So the value of the text box is the html code for the table. However, I was not able to 'display' the table in an html box via {textbox}. I thought using the variable {textbox} passes the html code from text box into the html box and lets the table show up (generally, using variables works for me). But this doesn't work. Am I doing something wrong here?

    display HTML code textbox table variables create variables don't work text fields
  • Profile Image
    JotForm Support

    Answered by mert on November 11, 2015 at 07:46 AM

    Hi there,

    You can detect the name of the specific field by using the "inspect element" feature which is provided by browsers.

     

    To do that, you can follow the steps from the below:

     

    I hope this one will work for you. If you need more information, please let us know.

    Thanks.

  • Profile Image
    JotForm Support

    Answered by abajan on November 11, 2015 at 08:42 AM

    Hi David,

    I noticed you stated that "... generally, using variables works for me ...". So, based on a hunch, I checked the latest form you edited to see if all of its variables were capturing data entered in the relevant fields and discovered that many of them weren't. To correct that, for each text field containing non-functioning variables, click its Edit HTML button (the one on the field itself, not the button at the top of the form builder),

    delete each non-functioning variable and replace it with the same text. I realize that removing text just to replace it with the same text doesn't seem to make any sense but if you do that and click the Complete button when you're done replacing all of the non-functioning variables, you'll see that they will now work. Give it a try.

    Cheers

  • Profile Image
    JotForm Support

    Answered by abajan on November 11, 2015 at 08:50 AM

    Actually, further tests I conducted since replying have revealed that just clicking the Edit HTML button and then the Complete one would suffice. There's need to replace the variables.