Center Aligning a text entry when printing a form

  • Profile Image
    solshinski7054
    Asked on September 06, 2017 at 10:52 PM

    Is there any way to have text entry field to "snap" to center aligned after the text is entered for printing purposes? I am using the form to capture basic data, but to also print a certificate of participation. I am trying to center everything up, but I cant get the inputted text to center.  

  • Profile Image
    BJoanna
    Answered on September 07, 2017 at 02:23 AM

    Are you using the Print button to print entered data? 

    Print Button on Forms

    If so, you can add this CSS code to your form: 

    @media print {

    .form-textbox, .form-textarea, .form-radio-other-input, .form-checkbox-other-input, .form-captcha input, .form-spinner input {

        text-align: center;

    }

    }

    How to Inject Custom CSS Codes

     

    Here is my demo form: https://form.jotformpro.com/72491206698970

    Feel free to test it.

    Hope this meet what you are looking for.