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

    Create short text entry elements with two answers side by side for each question

    Asked by menstrom on April 20, 2017 at 05:24 PM

    I am trying to create a "chart" that has the question on the left and two answers on the right for each question.  Each of the two answers must be a unique field that can be selected in conditions.  First I tried to do this with an input table, but I need to be able to auto-fill some of the boxes and found that I cannot do that with an input table.

    My form currently has the input table in it, and I started trying to create this "chart" above it but cannot get it to work.  I can create the question and the first answer column box by simply creating a short text entry.  But when I try to create the second answer column box, I can't line it up next to the first box.  It just won't do it.

    Please help me figure this out!

    Thanks,

    Marilyn

    Page URL:
    https://www.jotform.com/build/71026852107147

  • Profile Image
    JotForm Support

    Answered by Chriistian on April 20, 2017 at 11:39 PM

    I understand that you want to line up the second textbox to the first textbox. To achieve this, you need to inject a custom CSS on your form. Please see the example below:

    #input_422 {

        position: relative;

        top: -20px;

    }

    Result: 

     

    Here's a guide on How to Inject Custom CSS Codes.

    Cheers.

  • Profile Image

    Answered by menstrom on April 21, 2017 at 08:25 AM

    That did it!  I have never used the "relative position" argument before and, without that, it wouldn't respond to the margin-top or top command appropriately.  Adding the relative position line fixed it.

    Thanks!

    Marilyn