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

    Adjust checkbox spacing

    Asked by fhpw on April 14, 2015 at 10:04 AM

    I am having an issue with checkbox spacing that is strange.  When using preview the boxes look correct. However, in any browser, there is spacing and overlap issues. 

    Below are two images - the first one is what I see in preview mode.  The second is what is viewed in a browser (IE, Chrome, Mozilla).  Not sure why even the 2-column is inconsistent in sizing (see first checkbox input and then the yes/no option).  Thanks

     

    Preview mode

     

     

    Browser view

    Page URL:
    http://form.jotformpro.com/form/50924825442961

    checkbox spacing
  • Profile Image

    Answered by Syed on April 14, 2015 at 10:23 AM

    Hi there;

            Please try to inject the following CSS Code Block at the end, it is working fine here on my side. Read our guide here on How to Inject Custom CSS Codes.

    .form-multiple-column[data-columncount="3"] .form-checkbox-item {width: 100px !important;} #input_82_2 {margin-left:40px !important;}

    Will let us know, if you need further assistance on this, we would be happy to assist you in any way.

     

    Thankyou,

  • Profile Image

    Answered by fhpw on April 14, 2015 at 01:17 PM

    This only adjust the one input field.  I may have done something wrong because it only wrap the field.  I think there is a way to increase the spread between all selections so that multi 3-column have the same distance between values. I switched the meal choices so the longer strings are the middle value.

    Form link:

    http://form.jotformpro.com/form/50924825442961

    Thanks,

     

  • Profile Image
    JotForm Support

    Answered by BJoanna on April 14, 2015 at 02:57 PM

    You can change position of your check boxes by Injecting Custom CSS. To do that inside of your Form Builder select Setup & Embed tab, then click on Preferences, then select Form Styles tab and inside of Inject Custom CSS field at the bottom of existing code paste this code:

    [data-type="control_checkbox"] .form-input-wide {

    max-width : 600px!important;

    width : 60%;

    }

    After adding this code your form will look like this.

    Hope this will help. Let us know if you need further assistance.