How to make my form mobile (phone) friendly?

  • chemoreno
    Asked on November 19, 2016 at 10:14 AM

    I've created a form and used a widget so it can be used over the phone, but the users are having a hard time using it. The Date/Time won't fit and it's causing error as soon as you enter the Date because the Time is then cut off.

    Please help.

    Jotform Thread 993784 Screenshot
  • Jan
    Replied on November 19, 2016 at 5:39 PM

    I can see that you already inserted the Mobile Responsive widget in your form. Please try enabling the "Make this form Responsive" option in the Form Designer as well.

    How to make my form mobile (phone) friendly? Image 1 Screenshot 30

    Please insert the custom CSS code below in order for the Date Time field to be responsive:

    @media only screen and (max-width: 40em) {

    #label_10 {
    width : 100% !important;
    }

    div#cid_10 {
    display : block;
    }

    #label_21 {
    width : 100% !important;
    }

    #cid_21 {
    display : block !important;
    }

    span.allowTime-container {
    display : block !important;
    }

    }

    Here's a guide on How-to-Inject-Custom-CSS-Codes. Here's the result: 

    How to make my form mobile (phone) friendly? Image 2 Screenshot 41

    Hope that helps. Thank you.

  • chemoreno
    Replied on November 19, 2016 at 11:44 PM
    Hi,
    Yes, it did helped!
    The Dispatch Notification Form just worked beautifully after changes were made.
    Although I struggled a little bit with one of the forms (AMG IC Run Sheet) when I modified the form and added the CSS code, because I had to adjust the width; or maybe I was just doing something wrong. But it appears to be working now as I intended. Can you check on this one for me please? If there's anything that I missed?
    Thanks again..
     -Cherryl
    ...
  • Ashwin JotForm Support
    Replied on November 20, 2016 at 4:54 AM

    Hello Cherryl,

    I did check your form "IC Run Sheet" and it does seems to display correctly in mobile device. I would suggest you to please move your question "Type of Vehicle Use" to a new line and that should give you enough width space to display the date/time filed correctly. Please check the screenshot below:

    How to make my form mobile (phone) friendly? Image 1 Screenshot 20

     

    Thank you!