alignment of inputs

  • Profile Image
    pepjf
    Asked on September 02, 2013 at 07:09 AM

    Hi, I noticed this post here:

     

    http://www.jotform.com/answers/263093--Show-Total-on-position#4

    And I realized it should be possible for me to align my inputs into 3 columns rather than just one column so that users don't have to scroll so much to make their selections.

    Would you please assist me in how I need to format this so that I can move the lunch and dinner heading side by side with the breakfast columns.  I will be building up the menu more though, so if you can let me know how to add to the items under each invisible column i.e. breakfast, lunch and dinner.

     

    All other items remain the same, i.e. the Total is fine where it is and I don't need the subtotals for each item selected.

     

    Please see attached screen shot.

     

    Thank you.

  • Profile Image
    pinoytech
    Answered on September 02, 2013 at 12:20 PM

    Hi,

    You might like to take a look at your form now. I've already fixed the issue for you.

    http://form.jotform.co/form/32437296625864

    In order to achieve that, this is what I did.

    1. Re-arrange product item

    2. Add new item "DUMMY"

    3. I've injected some custom css into your form.

    /*-----NEW CODES-----*/

    .form-product-item {

    margin: 1px;

    float: center;

    width: 177px;

    }

    .form-product-item + br {

    display:none;

    }

    br + b {

    float: left;

    padding-top: 20px;

    }

    .form-payment-total {

    line-height: 50px;

    margin: 1px;

    border: 0px solid #EFEFEF;

    border-radius: 4px;

    padding: 15px;

    padding-right: 193px;

    padding-left: 6px;

    }

    #cid_15.form-input {

    width: 596px;

    }

    input[id*="1016"], input[id*="1017"]

    {

    display:none;

    }

    #input_15_1016 + label, #input_15_1017 + label{

    display: none;

    }

    If you need further assistance, please let us know.

    Thank you!

  • Profile Image
    pepjf
    Answered on September 02, 2013 at 12:56 PM

    You guys are just amazing, that's all I can say.

    I'll just have to figure out how to add items under each one now, I'll take a look now and I'll try to add.

     

    Thank you!

  • Profile Image
    pinoytech
    Answered on September 02, 2013 at 01:56 PM

    I'm glad that I was able to assist you. On behalf of JotForm team, you are quite welcome! If you need our assistance again, feel free to contact us at anytime.

    Have a nice day!