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

    Inline Form Field Elements

    Asked by sappoutsource on August 27, 2016 at 01: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!

    Page URL:
    http://prntscr.com/cb45t0

    Screenshot
    form field elements inline check hello
  • Profile Image
    JotForm Support

    Answered by Jim_R on August 27, 2016 at 04: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: 

    Let us know if that works for you :)