How to print form structure?

  • TantrumTheatre
    Asked on November 12, 2017 at 8:38 PM
  • Nik_C
    Replied on November 13, 2017 at 2:18 AM

    I'm not sure what you were referring to exactly, but to print your form you could create it as PDF: https://www.jotform.com/help/212-How-to-Create-a-PDF-Form

    You could add a print button to your form and print it from the Browser: https://www.jotform.com/help/24-Print-Button-on-Forms

    If you were referring to something else, please give us more information.

    Thank you!

  • TantrumTheatre
    Replied on November 16, 2017 at 4:20 AM

    Thank you for the prompt reply

    What I mean is a print out of the page source showing the field labels and codes that are used when passing data to another url or injecting css.

    for example - one of your examples  is

    For text boxes, text area, radio buttons and drop-down menus:

    Assuming we are viewing the page source of the form above, let's identify the name of the text boxes first. Field names can be found under the name attribute, e.g. name="q5_fullName[first]"In order to use it on the URL parameter, you only have to copy the name after the underscore symbol "_". (see highlighted code below) 
     
    Example:
     
    <input class="form-textbox" type="text" size="10" name="q5_fullName[first]" id="first_5">
     
    <input class="form-textbox" type="text" size="15" name="q5_fullName[last]" id="last_5">

    Now we're able to get the names of each field, include them in the URL, remember to put a question mark "?" after the URL to declare that we are submitting parameters, then comes the name followed by equal sign "=", then the value

    Now, for me to identify the names and id's of items I want to css, I have to go into the individual properties of each item one by one to discover what it is listed as. What would be great is a listing table of all the items in a form in one go?

    Firstly so the names can be made meaningful to our specific form needs and secondly so we can translate them correctly if they are imported into a different app

    Hope that makes sense


    Thanks


    Phil

  • Nik_C
    Replied on November 16, 2017 at 6:22 AM

    I could only point you to Source code version of form so you can view it and extract the data needed:

    https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

    Let us know if that could work for you.

    Thank you!