Inline Form Field Elements

  • sappoutsource
    Asked on August 27, 2016 at 1:41 PM

    Hello.

    I seem not to make any CSS work or change the position of the form field elements to become inline. Please check attached screenshot for more explanations.

    Thank you!

    Jotform Thread 918432 Screenshot
  • Support_Management Jotform Support
    Replied on August 27, 2016 at 4:41 PM

    This is indeed achievable by injecting CSS codes but just a heads up, you'd need to manually adjust the CSS (specifically the positioning, width, and height values) since it will look differently depending on how long the name of your product is.

    If you'd ask me, from a UI/UX perspective, having them shown at the bottom instead on just 1 line is better imho. It would also fair better for mobile users. Nonetheless, to achieve a 1 line product listing, please remove the CSS codes you injected and replace them with the following:

    .form-product-item {

       width: 600px;

       height: 20px;

    }

    .form-sub-label-container {

       position: relative;

       top: -30px;

       left: 330px;

    }

    The container form-product-item needs to be adjusted to give way to the positioning that will be done. Then the form-sub-label-container was positioned as needed.

    RESULT: 

    Inline Form Field Elements Image 1 Screenshot 20

    Let us know if that works for you :)