Input field special properties

Input fields can optionally be marked as required, or to include a helpful hint.

Required

The "input" placeholder supports an additional property "required" which means that this field is required to have a value.

Use the special keyword "required" at the end of the expression:

{input.field-Name.required}

For example:

{input.Title.required} results in a field "Title" which is required.

Ommitting the keyword "required" means the field is not mandatory.

Hints

You can set a helpful hint in an input field to help explain to the user what should be entered there.

Use the format:

{system.hints.field-Name(Hint A, Hint B)}

Example:

{system.hints.Title(Enter a short title)} will result in a field "Title" which has a hint of "Enter a short title"

Last updated