Scale rating: Correct mobile format

  • vitacaretech
    Asked on October 3, 2019 at 11:32 AM

    What is the correct mobile format / CSS code for the scale rating feature? When used in my form on a mobile device it does not fit in the screen 

  • denis_calin Jotform Support
    Replied on October 3, 2019 at 12:15 PM

    Hi @vitacaretech!

    Please inject the following CSS code into your form:

    @media screen and (max-width: 480px) {

    li[data-type="control_scale"] table.form-scale-table tr th, table.form-scale-table tr td {

        padding: 9px 0px !important;

    }

    li[data-type="control_scale"] table.form-scale-table tr td input {

        width: 10px !important;

    }

    }

    Here is the guide on how to inject CSS code into forms: How-to-Inject-Custom-CSS-Codes.

  • vitacaretech
    Replied on October 3, 2019 at 4:17 PM

    This still doesn't fit. The best & worst are what do not fit on the screen1570133858Capture scale Screenshot 10

  • denis_calin Jotform Support
    Replied on October 3, 2019 at 5:03 PM

    Hi @vitacaretech!

    It appears that the word "Best" has been obscured by the slider in the preview mode - this will not be the case on the real device. Here is what I see when I preview your form on Firefox browser:

    1570135655Screen Shot 2019 10 03 at 1 Screenshot 10

    I have also viewed your form on an iPhone 6s and everything correctly on the screen. Please let us know if you have any other questions.