Property | Description | Returns |
---|---|---|
type | Returns type for base element | string |
entity | string | |
id | int | |
name | Gets element name. It could be used in html to identify input, e.g. ' '. | string |
help | Gets help text for the element. It could be used as a tooltip or in HTML as a title attribute, e.g. ' '. | string |
editor | string | |
text | Text for the element that usually is used for element's label | string |
defaultValue | string | |
placeholder | string | |
required | bool | |
regex | string | |
position | int | |
settings | array | |
revision | FormRevision | |
step | Step | |
submissions | Collection (ElementSubmission) | |
validationRules | Collection (ValidationRule) | |
validationConditions | Collection (ValidationCondition) | |
parent | ElementGroup |
Forms\Models\Api\BaseElement
Element