How to create 2 text fields in 1 question

  • Profile Image
    ormaoz
    Asked on February 22, 2014 at 01:09 PM

    How can I create 2 text fields in 1 question. like the built-in "Full name" question or "Phone number" question have?

  • Profile Image
    pinoytech
    Answered on February 22, 2014 at 04:09 PM

    Hi,

    Thank your for contacting us.

    The only way to achieve that is by using two Text Box fields and use some custom css to hide the label of your 2nd text box field.

    Please take a look at this demo form that I've created.

    http://www.jotformpro.com/form/40526623059958

    Here's how:

    1. Add two Text Box field

    2. Change label alignment from Auto to Left

    3. Form field positioning using Shrinking method. 

    4. Hide label of second text box field using custom css.

    Here's the code the I've injected to my demo form.

    #label_2 {

    display: none;

    }

    #id_2.form-line.form-line-column {

    margin-left: -70px !important;

    }

    If you need further assistance, please let us know.