Quote Field Item

Input Field Types

NameDescriptionTypeExamplehtml
textText Input FieldSimple<input type="text" id="[field.identityTag]" value=""/>
boolCheckbox Input FieldSimple<input type="checkbox" id="[field.identityTag] value=""/>
dateDate Input FieldSimple (recommend date picker)<input type="text" id="[field.identityTag]" value=""/>
radioRadio Input FieldCompound <label for="[field.identityTag]-1"><input type="radio" id="[field.identityTag]-1" name="[field.identityTag]" value="[field.options.value1]"/>[field.options.text1]</label>
<label for="[field.identityTag]-2"><input type="radio" id="[field.identityTag]-2" name="[field.identityTag]" value="[field.options.value2]"/>[field.options.value2]</label>
selectDropdown / Select / ComboboxCompound <select id="[field.identityTag]">
<option value="[field.option.value1]">[field.option.text1]</option>
<option value="[field.option.value2]">[field.option.text2]</option>
<option value="[field.option.value3]">[field.option.text3]</option>
</select>
headerA section header to seperate questionSimple
Information
<div class="alert alert-info">[field.label]</div>
warningA warning to be displaySimple
Warning
<div class="alert alert-warning><i class="fas fa-exclamation-triangle"></i> [field.label]</div>
meadSelection of Mead & McGrouther codeComplex
personA field related to information in the Person sectionComplex

Input Field Validation

NameDescriptionOptions
requiredThe field is required, and submission should not be allowed until filled in
numericThe field must contain only digits [0-9]
decimalThe field must contain a maximum number of decimal places[max]
lengthThe field valuelength must be within (inclusive) of the constraints[min,max]
emailThe field value must be a valid email address
phoneThe field value must be a valid phone number+27 82 123 4567 | 082 123 4567 | 0821234567
yearThe field value must be a 4-digit year value[max,min] now means this year, values are increments from this year
dateThe field value must be a valid date in either "dd MMM yyyy" or "yyyy-MM-dd" format