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

    My Form's Submit Button Has a 'Print Form' Button next to It. How Do I Create a Condition to Show Only the Print Button?

    Asked by guineapigme on March 01, 2015 at 12:37 AM

    I need the following function,

     

    If my condition - in my case an edit mode - is View Only, I need only the PRINT button

    If my condition is anything else, then I need the PRINT button AND the SUBMIT button

     

    I can't figure out to supply this feature at present.    

    condition hide submit button show print form only
  • Profile Image
    JotForm Support

    Answered by abajan on March 01, 2015 at 07:16 AM

    Hi Deborah,

    The trick to achieving this functionality is to:

    Duplicate the current submit button:

    and hide the duplicated "Editor Only Save" (submit) button via CSS. In this demo I hid the button with the following rule:

     

    #input_253 {
        visibility : hidden;
    }

    To add the rule to your own jotform, go into the designer,

    click the CSS tab,

     

    enter it in the work area and save the change:


    If you were to clone the demo and examine its conditions, you would see that I've changed the first one to the following:

    Just do the same to yours.

    If you need further assistance with this, please inform us.


    Thanks