when viewed on the mobile phone, the text inside of text field goes off the screen

  • swebsites
    Asked on May 27, 2015 at 11:33 PM

    Hi

    - I've noticed that when I view the website on a mobile device (iphone or android) the text field goes off the screen. 

    - When view the website on the mobile but flip it to landscape, you can see all the fields, but then when I enter data it is pushed towards the middle of the field. 

    Jotform Thread 577400 Screenshot
  • BJoanna
    Replied on May 28, 2015 at 4:04 AM

    I have tested your form and I was able to reproduce mentioned problem. This is happening because of text field padding inside of your form. You can fix that by Injecting Custom CSS.  To do that inside of your Form Builder select Setup & Embed tab, then click on Preferences, then select Form Styles tab and inside of Inject Custom CSS field at the bottom of existing code paste this code:

    .form-textbox, .form-textarea {

    padding: 7px 50px 5px 10px!important;

    }

    when viewed on the mobile phone, the text inside of text field goes off the screen Image 1 Screenshot 30

    After adding this code your form will look like this on mobile phones.

    when viewed on the mobile phone, the text inside of text field goes off the screen Image 2 Screenshot 41

    Hope this will help. Let us know if you need further assistance.