How to align text fields to the right side of a form?

  • Profile Image
    CarlosGilBallesteros
    Asked on January 05, 2017 at 06:16 AM

    Afternoon dear supporters.

    I have managed to create a form in two column by shrinking the fields (according to your user guide)

    The first two fields align correctly (first one on the left column is a data field, the first one on the right column is just a text field - I do not want any other field in the right column)

    However, the second, third and fourth data fields in the left column do not align (vertical) correctly with the first.

    I guess it is because the size of the field in the right column makes the other three drop down.

    Is there any way to solve this so the four fields in the left column are right beneath each other?

    Thanks in advance

    Carlos

  • Profile Image
    ashwin_d
    Answered on January 05, 2017 at 07:16 AM

    Hello Carlos,

    Please inject the following custom css code in form and see if that helps you:

    li#id_11 {

        margin-top: -317px;

    }

    li#id_5 {

        margin-top: -268px;

    }

    li#id_6 {

        margin-top: -220px;

    }

    li#id_8 {

        margin-top: -141px;

    }

    The follwoing guide should help you how to inject custom css code in form:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Output of the above custom css code is as displayed in the screenshot below:

     

    Hope this helps.

    Do get back to us if you need any other changes.

    Thank you!

  • Profile Image
    CarlosGilBallesteros
    Answered on January 05, 2017 at 07:43 AM

    Hi ashwin_d

    Works wonderful!

    Many thanks

    Carlos