perch:label
The template tag perch:label
is used to create a label element in a form that related to an input field.
The below example creates a label for the form field that has an id of “message”.
<perch:label for="message">Message</perch:label>
Attributes
Attribute | Description |
---|---|
for | Required: ID of a perch:input tag this label relates to |