ModelForms module
StaticSubmitButton
Entity for code elements.
A model in the Forms module, with 19 members for templates, 17 API properties and 19 members for admin templates.
Templates view
Properties 19
Take no arguments.
-
#
getChildren() -
Collection -
#
getEntity() -
?string -
#
getId() -
?int -
#
getName() -
?string - Gets element name. It could be used in html to identify input, e.g. '<input name="{getName()}" ...>'.
-
#
getHelp() -
?string - Gets help text for the element. It could be used as a tooltip or in HTML as a title attribute, e.g. '<input title="{getHelp()}" ...>'.
-
#
getEditor() -
?string -
#
getDefaultValue() -
?string -
#
getPlaceholder() -
?string -
#
isRequired() -
?bool -
#
getRegex() -
?string -
#
getPosition() -
?int -
#
getSettings() -
?array -
#
getRevision() -
?FormRevision -
#
getParent() -
?ElementGroup -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 17
Read-only values on the record.
-
#
children -
Collection -
#
entity -
?string -
#
id -
?int -
#
name -
?string - Gets element name. It could be used in html to identify input, e.g. '<input name="{getName()}" ...>'.
-
#
help -
?string - Gets help text for the element. It could be used as a tooltip or in HTML as a title attribute, e.g. '<input title="{getHelp()}" ...>'.
-
#
editor -
?string -
#
defaultValue -
?string -
#
placeholder -
?string -
#
required -
?bool -
#
regex -
?string -
#
position -
?int -
#
settings -
?array -
#
revision -
?FormRevision -
#
parent -
?ElementGroup
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 19
Take no arguments.
-
#
getChildren() -
Collection -
#
getEntity() -
?string -
#
getId() -
?int -
#
getName() -
?string - Gets element name. It could be used in html to identify input, e.g. '<input name="{getName()}" ...>'.
-
#
getHelp() -
?string - Gets help text for the element. It could be used as a tooltip or in HTML as a title attribute, e.g. '<input title="{getHelp()}" ...>'.
-
#
getEditor() -
?string -
#
getDefaultValue() -
?string -
#
getPlaceholder() -
?string -
#
isRequired() -
?bool -
#
getRegex() -
?string -
#
getPosition() -
?int -
#
getSettings() -
?array -
#
getRevision() -
?FormRevision -
#
getParent() -
?ElementGroup -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.