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

    Check Boxes and Drop Downs within Free Text HTML

    Asked by moodletelford on June 12, 2013 at 10:33 AM

    Hi,

    I have some questions about Free Text HTML I hope you can help me with.

    My form is here http://www.jotform.co/form/31612956241855

     

    1. I'm using the Free Text HTML tool to create a table and within the table I have fiddled with the code to display check boxes and drop downs. I seem to have it working ok, however when I view the submission or download it as a PDF is there anything I can do to display the selected choices within the table?

     

    2. I have the check boxes returning the value when selected from within the table but I can't get the Yes/No drop down box to do the same, can you shed any light on what I'm missing?

     

    Cheers!

    Page URL:
    http://www.jotform.co/form/31612956241855

    Screenshot
    free text html check JotForm table
  • Profile Image

    Answered by dinesh-it on June 12, 2013 at 11:01 AM

    Hi,

    Actually the problem is, what you are seeing in the submission is the result of actual fields in the form not the result of that free text HTML. The Purpose of free text html is printing texts with your own format as you need. not for adding fields. In submission the html field will be look as it is in the form. you can view this by enabling the show header and texts option on submission tab as shown below.

     Submission with free text HTML

     

    So to save any field values to the jotform server, that field should be added from the jotform editor only and not using the free text HTML.

    Feel free ask if you have any further clarification.

    Thank you.

  • Profile Image

    Answered by dinesh-it on June 12, 2013 at 11:09 AM

    Sorry, I miss understood your problem. But, Unfortunately it is not possible to display the choices from form fields to free text Html.

    I will do some workarround and let you know if there is any other solution for this.

    Thank you.

  • Profile Image

    Answered by moodletelford on June 12, 2013 at 11:21 AM

    Hi,

    Sorry but I dont understand. I've already enabled Show headers and texts, how else would the table appear in the screenshot of my submission?

     

    Currently I can select the checkboxes within the HTML table which refer to Learner and Assessor for the Accuracy field. I have injected CSS to hide the original Accuracy checkbox from view but am using its input ID to capture the result from the HTML table. Is there anyway to have something show up in the submission pdf when the checkboxes are selected in the table?

     

    And what about my Yes/No Drop Down Box? For example if I select Yes from the drop down box within my table which is using the same input ID as the drop down box at the bottom of the form its not capturing the result like it does for the other two checkboxes.

     

    *EDIT* Ok I see you replied whilst I was composing this reply but you seem to undertsand it now. I hope you can figure something out.

     

    Cheers!

  • Profile Image
    JotForm Support

    Answered by Welvin on June 12, 2013 at 12:20 PM

    Hi,

    I've made some workaround, please kindly check this form: http://form.jotform.co/form/31624490589866. Submit a test entry and use valid email address so you can see the output.

    The output:

    The Codes:

    http://pastebin.com/sPsrTeBm

    Let me know your thoughts or if there's any changes you'd like.

    Thanks

  • Profile Image

    Answered by moodletelford on June 12, 2013 at 01:07 PM

    Thanks for getting back to me so quick but your workaround isn't really suitable for me.

    The results displayed within the table is only available from the Thank You page isnt it? Once I navigate away from the Thank You page there isnt any way to retrieve the results except from the submission page but then its only text.

    I know its only cosmetic but the table layout is kind of important when filling in the form and when displaying the results later on.

    Thanks again but let me know if you find another solution!

  • Profile Image
    JotForm Support

    Answered by Welvin on June 12, 2013 at 02:47 PM

    Hi,

    The results displayed within the table is only available from the Thank You page isnt it?

    -The result in Table is also available in Email Notification so with the Auto Responder. Have you check your email address?

    Let me think further. 

    Thanks

  • Profile Image

    Answered by moodletelford on June 14, 2013 at 03:47 AM

    Yeah your right the results come through in the email notification. 

    I've combined your solution with my original idea and come up with this http://www.jotform.co/form/31612956241855 

    The only problem I have now is that there is only one box which doesn't report back the value in the email notification. Can you tell me what the problem is?

    screenshot

  • Profile Image
    JotForm Support

    Answered by EltonCris on June 14, 2013 at 04:02 AM

    @moodletelford

    I see why it's not recorded. The name of the Accuracy field should be this:

    <input type="radio" class="form-radio" id="input_29_0" name="q29_accuracylearner" value="Yes">

    While you have this in your Free Text HTML code currently.

    <input type="radio" class="form-radio" id="input_29_0" name="q29_accuracy" value="Yes">

    See the difference between the field names, the correct one should be q29_accuracylearner. Check and replace it, that should fixed it.

    Note that field names are saved in the form dbase. Once it's changed, it's data will not be captured in email notification.

    Thanks!

  • Profile Image

    Answered by moodletelford on June 14, 2013 at 04:23 AM

    Thats great Thanks!