How do I print some Form fields in the Form?

  • JMCGroup
    Asked on August 22, 2019 at 7:53 AM

    So guys,

    according to you is there a way to take some parameters from the form and

    print a kind of budge?I was looking in the widget 's section..any suggest to do it?

    Maybe using an external tool?

  • jherwin
    Replied on August 22, 2019 at 9:26 AM

    Sorry, but I don't fully understand your query. It will help us provide you with the appropriate workaround/suggestions if you can elaborate further on what you wanted to do using the form.

    We will wait for your response.

  • JMCGroup
    Replied on August 22, 2019 at 9:35 AM

    ok!

    I need to getdata from form(name-surname-picture)

    and print a badge or pass for guest.

  • jherwin
    Replied on August 22, 2019 at 10:52 AM

    Do you mean something like this?

    Please check this demo form: https://form.jotform.com/92334836644968

    You can clone it to inspect and to know how it was done: How-to-Clone-an-Existing-Form-from-a-URL

  • JMCGroup
    Replied on August 22, 2019 at 11:08 AM

    Yes!

    Smaller wil be great!

  • JMCGroup
    Replied on August 22, 2019 at 11:13 AM

    Can you help me to do it and passing values...

    Thanks!

  • stevenmarshall
    Replied on August 22, 2019 at 1:07 PM

    Hi JMCGroup,

    Are you referring to passing values from one form to another then you can print out a badge from the second form?

    Guide: How-to-Automatically-Pass-Form-Data-to-Another-Form

    As far as making the form smaller via the Form Designer to change the general form settings.

    1566493223Screen Shot 2019 08 22 at 9 Screenshot 10

    1566493139Screen Shot 2019 08 22 at 9 Screenshot 21

    1566493370Screen Shot 2019 08 22 at 10 Screenshot 32

    The other option is to inject CSS code to make other changes.

    Guide: Customize-Your-Form-Using-Custom-CSS-Codes

    Guide: How-to-Inject-Custom-CSS-Codes

    Waiting for your response.

    Thank you


  • JMCGroup
    Replied on August 23, 2019 at 7:49 AM

    So guys!

    I'm going to explain what i thought to solve my problem

    I created a second form with 4 fields(picture, name, surname, factory)

    Now..i'd like when i send form... passing  this 4 fields from the main form to the second one.

    After that i can choose if the second form can be open using a button otherwise open automatically after sending the first form.

    Could you please help me to do it?...


  • Victoria_K
    Replied on August 23, 2019 at 8:15 AM

    It is possible to redirect users to second form and to pass data from first form there. But, data can be passed only if form was submitted. If you would like to have option to redirect to second form or not, you can set up conditions to redirect users elsewhere if condition was not met.

    Please take a look through next help guides:

    How-to-Automatically-Pass-Form-Data-to-Another-Form

    Redirecting-Users-to-a-Different-Page

    Change-Thank-You-Page-URL-Based-on-a-Condition

  • JMCGroup
    Replied on August 23, 2019 at 8:22 AM

    Could you show me on  my two forms?

    Pass data between MainForm and Badge..i you can..

    Thanks!

  • JMCGroup
    Replied on August 23, 2019 at 8:28 AM

    Otherwise i could avoid to do it if ise there a method to print just same form's filed and not all of it..is it possible?

  • roneet
    Replied on August 23, 2019 at 8:55 AM

    Yes, it is possible to print the same Form. Whichever field you do not want to print you can hide them via custom CSS code.

    @media print {

       li#id_96, li#id_73 {


        display: none;


    }


    }

    li#id_96, li#id_73 is the Id selectors of the Form fields which I do not want to display while printing the Form.

    You can check out the demo form for better understanding.

    https://form.jotform.me/81524682125455

    I have tried printing the required fields only. You can achieve this by injecting the CSS to your page.


    @media print {
      .jf-required {
        display: block !important;
      }
      .form-line {
        display: none;
      }
    }


    On submitting the print button it will only allow those fields to print which you have set as 'Required' in the Text box


    If the field should not be set as required on the form, but you want to show that specifically when the form is printed, then you can try adding the id of each field to the codes (one by one)


    @media print {
      #id_1, #id_2, #id_3 {
        display: block !important;
      }
      .form-line {
        display: none;
      }
    }

    Let us know the Form where you want to implement this feature. We will be happy to assist you.

    Thanks.