Here is how to do it. It is easy!
Here is the old code: (a sample)
Code: Select all
<div class="form-group">
<label for="address" class="control-label col-lg-1">Address<span class="text-danger">
<%%TRANSLATION(*)%%>
</span></label>
<div class="col-lg-4">
<input tabindex="1" maxlength="50" type="text" class="form-control" name="address" id="address" value="<%%VALUE(address)%%>" required />
</div>
Code: Select all
<div class="col-lg-4">
<label for="address" >Address<span class="text-danger">
<%%TRANSLATION(*)%%>
</span></label>
<input tabindex="1" maxlength="50" type="text" class="form-control" name="address" id="address" value="<%%VALUE(address)%%>" required />
</div>
If you wish the label to be beneath the input field just place the code for the label just before the last </div> tag and you will now have the label underneath. I find this method gives me more flexibility on my fields. It also allows me to use less space for when I make a horizontal form.
Enjoy
Alan