A widget baseclass for a sequence of fields.
template
(type:
BoundPageTemplate
)
<BoundPageTemplateFile of None>
visible
(type:
bool
)
True
hint(...)
label(...)
addButtonLabel()
applyChanges(content)
error()
getInputValue()
Return converted and validated widget data.
If there is no user input and the field is required, then a MissingInputError will be raised.
If there is no user input and the field is not required, then the field default value will be returned.
A WidgetInputError is raised in the case of one or more errors encountered, inputting, converting, or validating the data.
hasInput()
Is there input data for the field
Return True if there is data and False otherwise.
hasValidInput()
hidden()
Render the list as hidden fields.
setPrefix(prefix)
setRenderedValue(value)
widgets()
Return a list of widgets to display