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

    Name field: How to reduce the width of the "First Name" and "Last Name" fields and display them inline?

    Asked by regalwings on February 29, 2016 at 04:34 PM

    how cani get the first and last name field smaller and on the same line?

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 29, 2016 at 09:43 PM

    Please inject this CSS in your form:

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

        width: 45%;


    Do let us know if it works.

  • Profile Image

    Answered by regalwings on March 01, 2016 at 03:56 PM

    thanks! how can i increase space between them?

  • Profile Image
    JotForm Support

    Answered by Kevin_G on March 01, 2016 at 05:14 PM

    Try with this code:

    [data-type="control_fullname"]:nt-child(2) {



    It will separate  the "last name" field from the "first name", replace the value with other one that you think that is needed.