I am currently using a Bootstrap form that displays a checkbox with 13 different options, including:
Urban Plans
Commercial Entity
Cultural Approval
Education Sector
Hospitality
Industrial Design
Interiors Art
Leisure/ Sporting
Residential Care
Retail Space
Seniors Living Care
Student Housing
Warehouse
This is how it currently looks:
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="row">
<div class="col-md-6">
</div><!-- /.col-md-6-->
<div class="col-md-6">
<table class="table table-striped table-bordered">
<thead>
<th scope="col">Customer Sectors</th>
</thead>
<tr>
<td>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Urban Plans">Urban Plans </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Commercial Entity">Commercial Entity </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Cultural Approval">Cultural Approval </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Education Sector">Education Sector </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Hospitality">Hospitality </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Industrial Design">Industrial Design </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Interiors Art">Interiors Art </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Leisure/ Sporting" checked="checked">Leisure/ Sporting </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Residential Care">Residential Care </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Retail Space">Retail Space </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Seniors Living Care">Seniors Living Care </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Student Housing" checked="checked">Student Housing </label>
<label class="checkbox-inline-contacts">
<input type="checkbox" id="clientSectors" name="clientSectors[]" value="Warehouse">Warehouse </label>
</td>
</tr>
</table>
</div><!-- /.col-md-6-->
</div><!-- /.row-->
The checkbox values are dynamically generated from a database and are currently displayed from left to right and then top to bottom.
If the snippet doesn't display correctly, here is a screenshot for reference:
https://i.sstatic.net/YuT4B.png
We want to change the layout so that the list is displayed from top to bottom and then left to right on the web page:
Urban Plans Leisure/ Sporting
Commercial Entity Residential Care
Cultural Approval Retail Space
Education Sector Seniors Living Care
Hospitality Student Housing
Industrial Design Warehouse
Interiors Art