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 pass the value from form fields to text into the "Text" field?

    Asked by JPope669 on April 11, 2016 at 04:26 PM

    Is there a way to have form data autonomously fill in to a space on a separate HTML section of my form before it is submitted / printed? 

  • Profile Image
    JotForm Support

    Answered by Kevin_G on April 11, 2016 at 06:43 PM

    If I can understand you correctly, this is possible to achieve by following the steps below.

    First, you will need to get the name of the field that you want to get the value, this guide will help you with that: http://www.jotform.com/help/146-How-to-find-Field-IDs-Names

    Once you have the name of the field that you want, you need to add the Text field to your form:

    Now click on the Edit HTML button:

    Paste the name of the field that you want to pass to the text, as shown below:

    Here is a sample form that I made to show you how it works: https://form.jotform.com/53530393799972

    You may also clone this form and see what I did: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps. 

  • Profile Image

    Answered by JPope669 on April 12, 2016 at 06:45 AM
    Kevin G,
    Thanks for the help, this really worked well. Do you know of a way to force
    the HTML section to print on its own page? When my form is completed the
    HTML page might be forced to go on more than one page when printed. is it
    possible to code it to always print on one full page? I plan to give this
    page to the individual that completes the form since I can control the data
    that will populate the HTML section.
  • Profile Image

    Answered by Ben on April 12, 2016 at 08:23 AM

    Unfortunately no, there is no option to limit the printing of the same. Further more since the people printing can select where the margins start and what details are shown on the page themselves and usually varies across systems and browsers.

    You could try the following widget for what you want to achieve: Preview Before Submit

    While you would not be able to set the printing on it neither, it will collect the data automatically and could offer you a neater preview. Of course, Text field will allow you to present the data in the manner that you wish.