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 reduce the width of all first name and last names in my form

    Asked by b.m.ezzat on June 10, 2015 at 09:15 AM

    Dears

    I need to reduce the width of the first and last name box in my form

     

    BR

    Page URL:
    http://form.jotformpro.com/form/51602149612953

    name first name reduce width
  • Profile Image
    JotForm Support

    Answered by Boris on June 10, 2015 at 11:27 AM

    Hello.

    If you are looking for a way to reduce width of all first and last names so that they appear in a single line, please try injecting the following custom CSS:

    [data-type="control_fullname"] .form-sub-label-container {
      width: 49% !important;
      margin-right: 0px !important;
    }

    As your previous custom CSS that was present in the textbox of Designer under CSS tab contained an error, I had to remove it for everything to work correctly.

    Here is a demo form with the edits applied: http://form.jotformpro.com/form/51604737912961

    It will make your form look like this:

    Please let us know if you need further assistance.