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 can I display 2 fields in 1 line?

    Asked by jaque123 on September 07, 2016 at 04:31 PM

    I want to ask for the identification number, In this case they should select Type of ID and then enter the number so the question should look like:

     

    1.  ID:  _____  _________________________

    Where the first line its a dropdown and the second one its a text line.

    shrink field
  • Profile Image
    JotForm Support

    Answered by Jim_R on September 07, 2016 at 08:41 PM

    You can achieve that by shrinking the fields.

    Drag a dropdown and a textbox field to your form and shrink them both so they are displayed in the same line:

    If the textbox field for the ID number should be restricted to just numeric values, just set its VALIDATION property as NUMERIC. You may also use an INPUT MASK if you want to.

    Related guide: Getting-Started-with-the-basics-of-Input-Masking 

    Here's a quick form I came up with showing these https://form.jotform.com/62507818667972

    You may clone it (here's how) so you can see how it was setup.