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?

  • Profile Image
    guineapigme
    Asked 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.    

  • Profile Image
    abajan
    Answered 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