What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to display full name and phone number fields inline?

    Asked by eda408 on October 06, 2016 at 01:26 PM

    I embed my form on my website. The name and phone number fields break into two lines. Is there a way to eliminate this. I want it to look like the linked form. Screen shot of embedded form: http://screencast.com/t/Wi52381Og

    wrapping name phone number number fields and
  • Profile Image
    JotForm Support

    Answered by Kevin_G on October 06, 2016 at 04:32 PM

    This is because the form loads responsive, setting the full name and phone number fields to display 100% of the screen width helps to properly fill out these fields; however, this can be changed by injecting some CSS code to your form. 

    Please follow this guide How-to-Inject-Custom-CSS-Codes and inject the code below:

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

           [data-type="control_fullname"] span.form-sub-label-container, [data-type="control_phone"] span.form-sub-label-container{

                width: 49%;

            }

    }

    This way you will get your form displayed as you need, here is also a screenshot about how it should look: 

     

    Hope this helps.