Index
A
- $ FormNode#attributes — Property in class FormNode
- $ InputNode#attributes — Property in class InputNode
- $ LabelNode#attributes — Property in class LabelNode
- Container::addComponent() — Method in class Container
Adds a component and assigns it to the current group if one is set.
- Container::addText() — Method in class Container
Adds single-line text input control to the form.
- Container::addPassword() — Method in class Container
Adds single-line text input control used for sensitive input such as passwords.
- Container::addTextArea() — Method in class Container
Adds multi-line text input control to the form.
- Container::addEmail() — Method in class Container
Adds a text input with built-in email validation.
- Container::addInteger() — Method in class Container
Adds a text input with built-in integer validation.
- Container::addFloat() — Method in class Container
Adds a numeric input with built-in float validation.
- Container::addDate() — Method in class Container
Adds input for date selection.
- Container::addTime() — Method in class Container
Adds input for time selection.
- Container::addDateTime() — Method in class Container
Adds input for date and time selection.
- Container::addUpload() — Method in class Container
Adds control that allows the user to upload files.
- Container::addMultiUpload() — Method in class Container
Adds control that allows the user to upload multiple files.
- Container::addHidden() — Method in class Container
Adds hidden form control used to store a non-displayed value.
- Container::addCheckbox() — Method in class Container
Adds check box control to the form.
- Container::addRadioList() — Method in class Container
Adds set of radio button controls to the form.
- Container::addCheckboxList() — Method in class Container
Adds set of checkbox controls to the form.
- Container::addSelect() — Method in class Container
Adds select box control that allows single item selection.
- Container::addMultiSelect() — Method in class Container
Adds select box control that allows multiple item selection.
- Container::addColor() — Method in class Container
Adds an HTML color picker returning a hex color string (e.g. '#336699').
- Container::addSubmit() — Method in class Container
Adds button used to submit form.
- Container::addButton() — Method in class Container
Adds push buttons with no default behavior.
- Container::addImageButton() — Method in class Container
Adds graphical button used to submit form.
- Container::addImage() — Method in class Container
- Container::addContainer() — Method in class Container
Adds a named sub-container for grouping related controls.
- ControlGroup::add() — Method in class ControlGroup
- HiddenField::addError() — Method in class HiddenField
Adds error message to the list.
- MultiSelectBox::addOptionAttributes() — Method in class MultiSelectBox
- SelectBox::addOptionAttributes() — Method in class SelectBox
- TextBase::addRule() — Method in class TextBase
- TextInput::addRule() — Method in class TextInput
- UploadControl::addRule() — Method in class UploadControl
- Form::allowCrossOrigin() — Method in class Form
Disables the SameSite cookie CSRF protection, allowing cross-origin form submissions.
- Form::addProtection() — Method in class Form
- Form::addGroup() — Method in class Form
Creates a new control group and optionally sets it as current for subsequent addXxx() calls.
- Form::addError() — Method in class Form
Adds a form-level (not control-level) error message.
- $ Rule#arg — Property in class Rule
- Rules::addRule() — Method in class Rules
Adds a validation rule for the current control.
- Rules::addCondition() — Method in class Rules
Adds a validation condition and returns new branch.
- Rules::addConditionOn() — Method in class Rules
Adds a validation condition on a specified control and returns new branch.
- Rules::addFilter() — Method in class Rules
Adds a value filter applied before validation.
B
- Runtime::begin() — Method in class Runtime
- Blueprint — Class in namespace Nette\Forms
Generates blueprints for forms.
- Button — Class in namespace Nette\Forms\Controls
Push button control with no default behavior.
- Form::beforeRender() — Method in class Form
- $ Rule#branch — Property in class Rule
C
- $ FieldNNameNode#content — Property in class FieldNNameNode
- FieldNNameNode::create() — Method in class FieldNNameNode
- $ FormContainerNode#content — Property in class FormContainerNode
- FormContainerNode::create() — Method in class FormContainerNode
- $ FormNNameNode#content — Property in class FormNNameNode
- FormNNameNode::create() — Method in class FormNNameNode
- $ FormNode#content — Property in class FormNode
- FormNode::create() — Method in class FormNode
- FormPrintNode::create() — Method in class FormPrintNode
- InputErrorNode::create() — Method in class InputErrorNode
- InputNode::create() — Method in class InputNode
- $ LabelNode#content — Property in class LabelNode
- LabelNode::create() — Method in class LabelNode
- Runtime::current() — Method in class Runtime
- Container — Class in namespace Nette\Forms
Container for form controls.
- $ Container#currentGroup — Property in class Container
- $ Container#controls — Property in class Container
- Control — Class in namespace Nette\Forms
Contract for all form controls.
- ControlGroup — Class in namespace Nette\Forms
Named group of form controls, typically rendered as a fieldset.
- $ ControlGroup#controls — Property in class ControlGroup
- Checkbox — Class in namespace Nette\Forms\Controls
Checkbox control returning a boolean value.
- CheckboxList — Class in namespace Nette\Forms\Controls
Set of checkboxes.
- $ CheckboxList#container — Property in class CheckboxList
- $ CheckboxList#containerPrototype — Property in class CheckboxList
- ChoiceControl — Class in namespace Nette\Forms\Controls
Choice control that allows single item selection.
- ChoiceControl::checkDefaultValue() — Method in class ChoiceControl
Enables or disables validation that the set value exists in the items list.
- ColorPicker — Class in namespace Nette\Forms\Controls
Color picker returning a hex color string (e.g. '#336699').
- MultiChoiceControl::checkDefaultValue() — Method in class MultiChoiceControl
Enables or disables validation that set values exist in the items list.
- $ RadioList#container — Property in class RadioList
- $ RadioList#containerPrototype — Property in class RadioList
- SubmitButton::click() — Method in class SubmitButton
Invokes the onClick handlers.
- $ Form#crossOrigin — Property in class Form
- Form::cleanErrors() — Method in class Form
- Helpers::createInputList() — Method in class Helpers
Generates an HTML list of labeled inputs (radio buttons or checkboxes).
- Helpers::createSelectBox() — Method in class Helpers
Generates a
- $ DefaultFormRenderer#counter — Property in class DefaultFormRenderer
- $ Rule#control — Property in class Rule
- Rule::canExport() — Method in class Rule
D
- Blueprint::dataClass() — Method in class Blueprint
Generates blueprint of form data class.
- $ ChoiceControl#disabledChoices — Property in class ChoiceControl
- DateTimeControl — Class in namespace Nette\Forms\Controls
Date, time, or date-time input returning DateTimeImmutable (or string/timestamp based on format).
- $ MultiChoiceControl#disabledChoices — Property in class MultiChoiceControl
- DefaultFormRenderer — Class in namespace Nette\Forms\Rendering
Converts a form into HTML output using a table-based layout configurable via the $wrappers array.
E
- Runtime::end() — Method in class Runtime
- Container::extensionMethod() — Method in class Container
- $ TextBase#emptyValue — Property in class TextBase
- $ Form#errors — Property in class Form
- $ Form#elementPrototype — Property in class Form
- Helpers::extractHttpData() — Method in class Helpers
Extracts and sanitizes submitted form data for single control.
- Helpers::exportRules() — Method in class Helpers
Exports validation rules into a JSON-serializable structure for the data-nette-rules attribute.
- Rules::elseCondition() — Method in class Rules
Adds an else branch to the current condition and returns it.
- Rules::endCondition() — Method in class Rules
Ends current validation condition.
F
- FormsExtension — Class in namespace Nette\Bridges\FormsDI
Forms extension for Nette DI.
- FormsExtension — Class in namespace Nette\Bridges\FormsLatte
Latte v3 extension for Nette Forms.
- FieldNNameNode — Class in namespace Nette\Bridges\FormsLatte\Nodes
,
- FieldNNameNode::findUsedAttributes() — Method in class FieldNNameNode
- FormContainerNode — Class in namespace Nette\Bridges\FormsLatte\Nodes
{formContainer name} ... {/formContainer} Enters form container context for nested controls.
- FormNNameNode — Class in namespace Nette\Bridges\FormsLatte\Nodes
- FormNode — Class in namespace Nette\Bridges\FormsLatte\Nodes
{form [scope|detached] name [, attributes]} ... {/form} Renders form tags and initializes form context.
- FormPrintNode — Class in namespace Nette\Bridges\FormsLatte\Nodes
{formPrint [name]} {formClassPrint [name]} Generates Latte template or data class blueprint for form.
- $ Container#form — Property in class Container
- DateTimeControl::formatHtmlValue() — Method in class DateTimeControl
Formats a date/time for HTML attributes.
- DateTimeControl::formatLocaleText() — Method in class DateTimeControl
Formats a date/time according to the locale and formatting options.
- Form — Class in namespace Nette\Forms
Creates, validates and renders HTML forms.
- Form::fireEvents() — Method in class Form
Fires onSuccess, onError, onSubmit and onClick events based on submission and validation state.
- Form::fireRenderEvents() — Method in class Form
Triggers beforeRender() and onRender events. Must be called before manual rendering (when not using render()).
- FormRenderer — Class in namespace Nette\Forms
Contract for form renderers.
- $ DefaultFormRenderer#form — Property in class DefaultFormRenderer
- Validator::formatMessage() — Method in class Validator
G
- FormsExtension::getTags() — Method in class FormsExtension
- FormsExtension::getProviders() — Method in class FormsExtension
- FormsExtension::getCacheKey() — Method in class FormsExtension
- FieldNNameNode::getIterator() — Method in class FieldNNameNode
- FormContainerNode::getIterator() — Method in class FormContainerNode
- FormNNameNode::getIterator() — Method in class FormNNameNode
- FormNode::getIterator() — Method in class FormNode
- FormPrintNode::getIterator() — Method in class FormPrintNode
- InputErrorNode::getIterator() — Method in class InputErrorNode
- InputNode::getIterator() — Method in class InputNode
- LabelNode::getIterator() — Method in class LabelNode
- Blueprint::generateLatte() — Method in class Blueprint
- Container::getValues() — Method in class Container
Returns the values submitted by the form.
- Container::getUntrustedValues() — Method in class Container
Returns the potentially unvalidated values submitted by the form.
- Container::getUnsafeValues() — Method in class Container
- Container::getErrors() — Method in class Container
Returns all validation errors.
- Container::getCurrentGroup() — Method in class Container
- Container::getControls() — Method in class Container
Retrieves the entire hierarchy of form controls including nested.
- Container::getForm() — Method in class Container
Returns form.
- Control::getValue() — Method in class Control
- Control::getErrors() — Method in class Control
Returns errors corresponding to control.
- ControlGroup::getControls() — Method in class ControlGroup
Returns all controls in this group.
- ControlGroup::getOption() — Method in class ControlGroup
Returns a rendering option value.
- ControlGroup::getOptions() — Method in class ControlGroup
Returns all rendering options.
- Button::getLabel() — Method in class Button
Bypasses label generation.
- Button::getControl() — Method in class Button
Generates control's HTML element.
- Checkbox::getControl() — Method in class Checkbox
- Checkbox::getLabel() — Method in class Checkbox
Bypasses label generation.
- Checkbox::getControlPart() — Method in class Checkbox
- Checkbox::getLabelPart() — Method in class Checkbox
- Checkbox::getContainerPrototype() — Method in class Checkbox
Returns container HTML element template.
- Checkbox::getSeparatorPrototype() — Method in class Checkbox
- CheckboxList::getControl() — Method in class CheckboxList
- CheckboxList::getLabel() — Method in class CheckboxList
- CheckboxList::getControlPart() — Method in class CheckboxList
Returns the HTML input element for a specific checkbox item by key.
- CheckboxList::getLabelPart() — Method in class CheckboxList
Returns the label element for the whole checkbox list, or the item label for a specific key.
- CheckboxList::getSeparatorPrototype() — Method in class CheckboxList
Returns separator HTML element template.
- CheckboxList::getContainerPrototype() — Method in class CheckboxList
Returns container HTML element template.
- CheckboxList::getItemLabelPrototype() — Method in class CheckboxList
Returns item label HTML element template.
- ChoiceControl::getValue() — Method in class ChoiceControl
Returns the selected key, or null if no valid item is selected or the selection is disabled.
- ChoiceControl::getRawValue() — Method in class ChoiceControl
Returns the raw submitted key without validation against the available items.
- ChoiceControl::getItems() — Method in class ChoiceControl
Returns items from which to choose.
- ChoiceControl::getSelectedItem() — Method in class ChoiceControl
Returns selected value.
- ChoiceControl::getItem() — Method in class ChoiceControl
Returns the item label for the given key, or throws an exception if the key does not exist.
- ColorPicker::getControl() — Method in class ColorPicker
- DateTimeControl::getValue() — Method in class DateTimeControl
- DateTimeControl::getControl() — Method in class DateTimeControl
- HiddenField::getValue() — Method in class HiddenField
- HiddenField::getControl() — Method in class HiddenField
- HiddenField::getLabel() — Method in class HiddenField
Bypasses label generation.
- ImageButton::getHtmlName() — Method in class ImageButton
- MultiChoiceControl::getValue() — Method in class MultiChoiceControl
Returns selected keys.
- MultiChoiceControl::getRawValue() — Method in class MultiChoiceControl
Returns raw submitted keys without validation against the available items.
- MultiChoiceControl::getItems() — Method in class MultiChoiceControl
Returns items from which to choose.
- MultiChoiceControl::getSelectedItems() — Method in class MultiChoiceControl
Returns key-value pairs for valid, non-disabled selected items.
- MultiChoiceControl::getHtmlName() — Method in class MultiChoiceControl
Returns HTML name of control.
- MultiChoiceControl::getItem() — Method in class MultiChoiceControl
Returns the item label for the given key, or throws an exception if the key does not exist.
- MultiSelectBox::getControl() — Method in class MultiSelectBox
- MultiSelectBox::getOptionAttributes() — Method in class MultiSelectBox
Returns all option attributes.
- $ RadioList#generateId — Property in class RadioList
- RadioList::getControl() — Method in class RadioList
- RadioList::getLabel() — Method in class RadioList
- RadioList::getControlPart() — Method in class RadioList
Returns the HTML input element for a specific radio button item by key.
- RadioList::getLabelPart() — Method in class RadioList
Returns the label element for the whole radio list, or the item label for a specific key.
- RadioList::getSeparatorPrototype() — Method in class RadioList
Returns separator HTML element template.
- RadioList::getContainerPrototype() — Method in class RadioList
Returns container HTML element template.
- RadioList::getItemLabelPrototype() — Method in class RadioList
Returns item label HTML element template.
- SelectBox::getPrompt() — Method in class SelectBox
Returns first prompt item.
- SelectBox::getControl() — Method in class SelectBox
- SelectBox::getOptionAttributes() — Method in class SelectBox
Returns all option attributes.
- SubmitButton::getValidationScope() — Method in class SubmitButton
Returns the validation scope, or null if the entire form is validated.
- SubmitButton::getControl() — Method in class SubmitButton
Generates control's HTML element.
- TextArea::getControl() — Method in class TextArea
- TextBase::getValue() — Method in class TextBase
Returns the value, substituting empty string when it matches the empty value. Returns null when nullable is set and value is empty.
- TextBase::getEmptyValue() — Method in class TextBase
Returns the special value which is treated as empty string.
- TextBase::getControl() — Method in class TextBase
- TextBase::getRenderedValue() — Method in class TextBase
- TextInput::getControl() — Method in class TextInput
- UploadControl::getHtmlName() — Method in class UploadControl
- UploadControl::getValue() — Method in class UploadControl
Returns the uploaded file(s), a dummy FileUpload(null) when nothing was uploaded, or null when nullable is set.
- Form::getForm() — Method in class Form
Returns form.
- Form::getAction() — Method in class Form
- Form::getMethod() — Method in class Form
- Form::getGroups() — Method in class Form
Returns all defined groups.
- Form::getGroup() — Method in class Form
Returns the specified group.
- Form::getTranslator() — Method in class Form
- Form::getHttpData() — Method in class Form
Returns raw submitted HTTP data for a control, or all form data when called without arguments.
- Form::getErrors() — Method in class Form
Returns all validation errors (own form errors merged with control errors).
- Form::getOwnErrors() — Method in class Form
Returns form-level errors only, excluding control errors.
- Form::getElementPrototype() — Method in class Form
Returns form's HTML element template.
- Form::getRenderer() — Method in class Form
- Form::getToggles() — Method in class Form
Returns current visibility states of all toggle targets across all controls.
- Helpers::generateHtmlName() — Method in class Helpers
Converts a component path (e.g. 'form-person-name') to the HTML name attribute format (e.g. 'person[name]').
- Helpers::getSingleType() — Method in class Helpers
Returns the single type name from reflection, or null if no type is defined.
- Helpers::getSupportedImages() — Method in class Helpers
- DefaultFormRenderer::getWrapper() — Method in class DefaultFormRenderer
Returns a clone of the wrapper element specified by 'section key' (e.g. 'control errorcontainer').
- DefaultFormRenderer::getValue() — Method in class DefaultFormRenderer
- Rules::getToggles() — Method in class Rules
Returns toggle definitions, or current evaluated states when $actual is true.
- Rules::getToggleStates() — Method in class Rules
- Rules::getIterator() — Method in class Rules
Iterates over all rules in priority order (Blank first, then Required, then others).
- SubmitterControl::getValidationScope() — Method in class SubmitterControl
Returns the validation scope. Clicking the button validates only the controls within the scope, or null for all.
H
- HiddenField — Class in namespace Nette\Forms\Controls
Hidden form control used to store a non-displayed value.
- $ Form#httpRequest — Property in class Form
- Form::hasErrors() — Method in class Form
- Helpers — Class in namespace Nette\Forms
Forms helpers.
I
- InputErrorNode — Class in namespace Nette\Bridges\FormsLatte\Nodes
{inputError name} Renders form control error message.
- InputNode — Class in namespace Nette\Bridges\FormsLatte\Nodes
{input name[:part] [, attributes]} Renders form control HTML.
- Runtime::item() — Method in class Runtime
Resolves a control or container from the current form on the stack.
- Container::isValid() — Method in class Container
Checks whether all controls pass validation.
- Control::isOmitted() — Method in class Control
Is control value excluded from $form->getValues() result?
- Button::isFilled() — Method in class Button
Is button pressed?
- Checkbox::isFilled() — Method in class Checkbox
- $ CheckboxList#itemLabel — Property in class CheckboxList
- $ CheckboxList#itemLabelPrototype — Property in class CheckboxList
- $ ChoiceControl#items — Property in class ChoiceControl
- ChoiceControl::isFilled() — Method in class ChoiceControl
Is any item selected?
- HiddenField::isNullable() — Method in class HiddenField
- ImageButton — Class in namespace Nette\Forms\Controls
Submittable image button form control.
- $ MultiChoiceControl#items — Property in class MultiChoiceControl
- $ RadioList#itemLabel — Property in class RadioList
- $ RadioList#itemLabelPrototype — Property in class RadioList
- SelectBox::isOk() — Method in class SelectBox
Checks whether the current selection is valid (a non-prompt item is selected, or the control has a prompt/is disabled).
- SubmitButton::isSubmittedBy() — Method in class SubmitButton
Tells if the form was submitted by this button.
- TextBase::isNullable() — Method in class TextBase
- UploadControl::isFilled() — Method in class UploadControl
Has been any file uploaded?
- UploadControl::isNullable() — Method in class UploadControl
- UploadControl::isOk() — Method in class UploadControl
Have been all files successfully uploaded?
- Form::isMethod() — Method in class Form
Checks if the request method is the given one.
- Form::isAnchored() — Method in class Form
Checks whether the form is attached to a request (always true for standalone forms).
- Form::isSubmitted() — Method in class Form
Returns the submitter control if the form was submitted, or false.
- Form::isSuccess() — Method in class Form
Tells if the form was submitted and successfully validated.
- Form::initialize() — Method in class Form
Initializes HTTP request and SameSite CSRF cookie for standalone (non-DI) usage.
- Helpers::iniGetSize() — Method in class Helpers
- $ Rule#isNegative — Property in class Rule
- Rules::isRequired() — Method in class Rules
Is control mandatory?
L
- LabelNode — Class in namespace Nette\Bridges\FormsLatte\Nodes
{label name[:part] [, attributes]} ... {/label} {label name /} Renders form control label.
- Blueprint::latte() — Method in class Blueprint
Generates blueprint of form Latte template.
- CheckboxList::loadHttpData() — Method in class CheckboxList
- ChoiceControl::loadHttpData() — Method in class ChoiceControl
- ColorPicker::loadHttpData() — Method in class ColorPicker
- DateTimeControl::loadHttpData() — Method in class DateTimeControl
- ImageButton::loadHttpData() — Method in class ImageButton
- MultiChoiceControl::loadHttpData() — Method in class MultiChoiceControl
- SubmitButton::loadHttpData() — Method in class SubmitButton
- TextInput::loadHttpData() — Method in class TextInput
- UploadControl::loadHttpData() — Method in class UploadControl
M
- $ FormsExtension#messages — Property in class FormsExtension
- $ FormNode#mode — Property in class FormNode
- $ FormPrintNode#mode — Property in class FormPrintNode
- MultiChoiceControl — Class in namespace Nette\Forms\Controls
Choice control that allows multiple items selection.
- MultiSelectBox — Class in namespace Nette\Forms\Controls
Select box control that allows multiple items selection.
- $ Rule#message — Property in class Rule
- $ Validator#messages — Property in class Validator
N
- $ FieldNNameNode#name — Property in class FieldNNameNode
- $ FormContainerNode#name — Property in class FormContainerNode
- $ FormNNameNode#name — Property in class FormNNameNode
- $ FormNode#name — Property in class FormNode
- $ FormPrintNode#name — Property in class FormPrintNode
- $ InputErrorNode#name — Property in class InputErrorNode
- $ InputNode#name — Property in class InputNode
- $ LabelNode#name — Property in class LabelNode
O
- $ Container#onValidate — Property in class Container
Occurs when the form was validated
- $ SubmitButton#onClick — Property in class SubmitButton
Occurs when the button is clicked and form is successfully validated
- $ SubmitButton#onInvalidClick — Property in class SubmitButton
- $ Form#onSuccess — Property in class Form
Occurs when the form is submitted and successfully validated
- $ Form#onError — Property in class Form
- $ Form#onSubmit — Property in class Form
- $ Form#onRender — Property in class Form
- $ Form#ownErrors — Property in class Form
P
- $ FieldNNameNode#part — Property in class FieldNNameNode
- FieldNNameNode::print() — Method in class FieldNNameNode
- FormContainerNode::print() — Method in class FormContainerNode
- FormNNameNode::print() — Method in class FormNNameNode
- $ FormNode#print — Property in class FormNode
- FormNode::print() — Method in class FormNode
- FormPrintNode::print() — Method in class FormPrintNode
- InputErrorNode::print() — Method in class InputErrorNode
- $ InputNode#part — Property in class InputNode
- InputNode::print() — Method in class InputNode
- $ LabelNode#part — Property in class LabelNode
- LabelNode::print() — Method in class LabelNode
R
- Runtime — Class in namespace Nette\Bridges\FormsLatte
Runtime rendering helpers used by Latte.
- Runtime::renderFormBegin() — Method in class Runtime
Renders form begin.
- Runtime::renderFormEnd() — Method in class Runtime
Renders form end.
- Blueprint::receiveHttpData() — Method in class Blueprint
- ControlGroup::remove() — Method in class ControlGroup
- ControlGroup::removeOrphans() — Method in class ControlGroup
Removes controls that are no longer attached to a form.
- Button::renderAsButton() — Method in class Button
Renders as a
- RadioList — Class in namespace Nette\Forms\Controls
Set of radio button controls.
- $ TextBase#rawValue — Property in class TextBase
- Form::removeGroup() — Method in class Form
Removes a group and all its controls from the form.
- Form::reset() — Method in class Form
Clears the submission state and resets all control values to defaults.
- Form::receiveHttpData() — Method in class Form
Internal: returns submitted HTTP data or null when form was not submitted.
- Form::render() — Method in class Form
- FormRenderer::render() — Method in class FormRenderer
Renders the form into HTML string.
- DefaultFormRenderer::render() — Method in class DefaultFormRenderer
Provides complete form rendering.
- DefaultFormRenderer::renderBegin() — Method in class DefaultFormRenderer
Renders form begin.
- DefaultFormRenderer::renderEnd() — Method in class DefaultFormRenderer
Renders form end.
- DefaultFormRenderer::renderErrors() — Method in class DefaultFormRenderer
Renders validation errors (per form or per control).
- DefaultFormRenderer::renderBody() — Method in class DefaultFormRenderer
Renders form body.
- DefaultFormRenderer::renderControls() — Method in class DefaultFormRenderer
Renders group of controls.
- DefaultFormRenderer::renderPair() — Method in class DefaultFormRenderer
Renders single visual row.
- DefaultFormRenderer::renderPairMulti() — Method in class DefaultFormRenderer
Renders single visual row of multiple controls.
- DefaultFormRenderer::renderLabel() — Method in class DefaultFormRenderer
Renders 'label' part of visual row of controls.
- DefaultFormRenderer::renderControl() — Method in class DefaultFormRenderer
Renders 'control' part of visual row of controls.
- DefaultFormRenderer::renderLabelElement() — Method in class DefaultFormRenderer
- DefaultFormRenderer::renderControlElement() — Method in class DefaultFormRenderer
- Rule — Class in namespace Nette\Forms
Single validation rule or condition represented as value object.
- Rules — Class in namespace Nette\Forms
Manages validation rules and conditions for a single form control.
- Rules::removeRule() — Method in class Rules
Removes a validation rule for the current control.
- Rules::reset() — Method in class Rules
Removes all validation rules.
S
- Container::setDefaults() — Method in class Container
Populates controls with default values. Has no effect on submitted forms.
- Container::setValues() — Method in class Container
Fills controls with values.
- Container::setMappedType() — Method in class Container
Sets the default class used when getValues() is called without an explicit type.
- Container::setCurrentGroup() — Method in class Container
Sets the group that newly added controls will be assigned to.
- Control::setValue() — Method in class Control
- ControlGroup::setOption() — Method in class ControlGroup
Sets a rendering option. Options recognized by DefaultFormRenderer:
- 'label' - group label (string or HtmlStringable)
- 'visual' - whether the group is rendered as a visual fieldset
- 'container' - custom container Html element
- 'description' - group description (string or HtmlStringable)
- 'embedNext' - whether to embed the next group inside this group's container
- Checkbox::setValue() — Method in class Checkbox
- $ CheckboxList#separator — Property in class CheckboxList
- $ CheckboxList#separatorPrototype — Property in class CheckboxList
- ChoiceControl::setValue() — Method in class ChoiceControl
Sets selected item (by key).
- ChoiceControl::setItems() — Method in class ChoiceControl
Sets items from which to choose. When $useKeys is false, values are used as keys too.
- ChoiceControl::setDisabled() — Method in class ChoiceControl
Disables or enables control or items.
- ColorPicker::setValue() — Method in class ColorPicker
Sets the color value in #rrggbb format. Null resets to black (#000000).
- DateTimeControl::setFormat() — Method in class DateTimeControl
Format of returned value. Allowed values are string (ie 'Y-m-d'), DateTimeControl::FormatObject and DateTimeControl::FormatTimestamp.
- DateTimeControl::setValue() — Method in class DateTimeControl
- HiddenField::setValue() — Method in class HiddenField
- HiddenField::setNullable() — Method in class HiddenField
Sets whether getValue() returns null instead of empty string.
- MultiChoiceControl::setValue() — Method in class MultiChoiceControl
- MultiChoiceControl::setItems() — Method in class MultiChoiceControl
Sets items from which to choose. When $useKeys is false, values are used as keys too.
- MultiChoiceControl::setDisabled() — Method in class MultiChoiceControl
Disables or enables control or items.
- MultiSelectBox::setItems() — Method in class MultiSelectBox
Sets options and option groups from which to choose.
- MultiSelectBox::setOptionAttribute() — Method in class MultiSelectBox
Sets an attribute on all
- $ RadioList#separator — Property in class RadioList
- $ RadioList#separatorPrototype — Property in class RadioList
- SelectBox — Class in namespace Nette\Forms\Controls
Select box control that allows single item selection.
- SelectBox::setPrompt() — Method in class SelectBox
Sets first prompt item in select box.
- SelectBox::setItems() — Method in class SelectBox
Sets options and option groups from which to choose.
- SelectBox::setOptionAttribute() — Method in class SelectBox
Sets an attribute on all
- SubmitButton — Class in namespace Nette\Forms\Controls
Submittable button control.
- SubmitButton::setValidationScope() — Method in class SubmitButton
Sets the validation scope. Clicking the button validates only the controls within the specified scope.
- TextBase::setValue() — Method in class TextBase
- TextBase::setNullable() — Method in class TextBase
Sets whether getValue() returns null instead of empty string.
- TextBase::setEmptyValue() — Method in class TextBase
Sets the special value which is treated as empty string.
- TextBase::setMaxLength() — Method in class TextBase
Sets the maximum number of allowed characters.
- TextInput::setHtmlType() — Method in class TextInput
Changes control's type attribute.
- TextInput::setType() — Method in class TextInput
- UploadControl::setValue() — Method in class UploadControl
- UploadControl::setNullable() — Method in class UploadControl
Sets whether getValue() returns null instead of FileUpload with error UPLOAD_ERR_NO_FILE.
- Form::setAction() — Method in class Form
- Form::setMethod() — Method in class Form
- Form::setHtmlAttribute() — Method in class Form
Sets a form-level HTML attribute.
- Form::setTranslator() — Method in class Form
- Form::setSubmittedBy() — Method in class Form
- Form::setRenderer() — Method in class Form
- Rules::setRequired() — Method in class Rules
Makes control mandatory.
- SubmitterControl — Class in namespace Nette\Forms
Contract for controls that can submit a form.
T
- TextArea — Class in namespace Nette\Forms\Controls
Multiline text input control.
- TextBase — Class in namespace Nette\Forms\Controls
Base for text-based controls (TextInput, TextArea) with nullable and empty-value support.
- TextInput — Class in namespace Nette\Forms\Controls
Single line text input control.
- Helpers::tryEnumConversion() — Method in class Helpers
- Rules::toggle() — Method in class Rules
Shows or hides an HTML element (selected by CSS selector) when the condition is met.
U
- UploadControl — Class in namespace Nette\Forms\Controls
Text box and browse button that allow users to select a file to upload to the server.
V
- $ LabelNode#void — Property in class LabelNode
- $ Container#values — Property in class Container
- Container::validate() — Method in class Container
Performs the server side validation.
- Control::validate() — Method in class Control
- DateTimeControl::validateMinMax() — Method in class DateTimeControl
Checks whether the control's value falls within the given date/time range.
- Form::validate() — Method in class Form
- Form::validateMaxPostSize() — Method in class Form
- $ Rule#validator — Property in class Rule
- Rules::validate() — Method in class Rules
Validates the control against all rules. Returns false and sets an error message on failure.
- Rules::validateRule() — Method in class Rules
Validates single rule.
- Validator — Class in namespace Nette\Forms
Common validators.
- Validator::validateEqual() — Method in class Validator
Checks whether the control's value equals the argument (string comparison, supports arrays).
- Validator::validateNotEqual() — Method in class Validator
Checks whether the control's value does not equal the argument.
- Validator::validateStatic() — Method in class Validator
Always returns the argument value, used for static (constant) conditions.
- Validator::validateFilled() — Method in class Validator
Checks whether the control is filled.
- Validator::validateBlank() — Method in class Validator
Checks whether the control is not filled.
- Validator::validateValid() — Method in class Validator
Checks whether the control passes all its validation rules (used in conditions).
- Validator::validateRange() — Method in class Validator
Checks whether the control's value falls within the specified range (inclusive).
- Validator::validateMin() — Method in class Validator
Checks whether the control's value is greater than or equal to the minimum.
- Validator::validateMax() — Method in class Validator
Checks whether the control's value is less than or equal to the maximum.
- Validator::validateLength() — Method in class Validator
Checks whether the string length or array count falls within the given range [min, max].
- Validator::validateMinLength() — Method in class Validator
Checks whether the string length or array count is at least the specified minimum.
- Validator::validateMaxLength() — Method in class Validator
Checks whether the string length or array count does not exceed the specified maximum.
- Validator::validateSubmitted() — Method in class Validator
Checks whether the submit button was used to submit the form.
- Validator::validateEmail() — Method in class Validator
Checks whether the control's value is a valid email address.
- Validator::validateUrl() — Method in class Validator
Checks whether the control's value is a valid URL. Auto-prepends 'https://' if the scheme is missing.
- Validator::validatePattern() — Method in class Validator
Checks whether the control's value matches the regular expression (anchored, case-sensitive by default).
- Validator::validatePatternCaseInsensitive() — Method in class Validator
- Validator::validateNumeric() — Method in class Validator
Checks whether the control's value is a non-negative integer string or int.
- Validator::validateInteger() — Method in class Validator
Checks whether the control's value is an integer. Normalizes the value by casting it to int.
- Validator::validateFloat() — Method in class Validator
Checks whether the control's value is a number. Normalizes spaces and commas and casts it to float.
- Validator::validateFileSize() — Method in class Validator
Checks whether all uploaded files are within the size limit (in bytes).
- Validator::validateMimeType() — Method in class Validator
Checks whether all uploaded files match one of the allowed MIME types (wildcards like 'image/*' are supported).
- Validator::validateImage() — Method in class Validator
Checks whether all uploaded files are images (JPEG, PNG, GIF, WebP, AVIF).
W
- $ DefaultFormRenderer#wrappers — Property in class DefaultFormRenderer
/--- form.container
_
- FormsExtension::__construct() — Method in class FormsExtension
- Container::__call() — Method in class Container
- Container::__clone() — Method in class Container
Prevents cloning.
- ControlGroup::__construct() — Method in class ControlGroup
- Button::__construct() — Method in class Button
- Checkbox::__construct() — Method in class Checkbox
- CheckboxList::__construct() — Method in class CheckboxList
- ChoiceControl::__construct() — Method in class ChoiceControl
- ColorPicker::__construct() — Method in class ColorPicker
- DateTimeControl::__construct() — Method in class DateTimeControl
- HiddenField::__construct() — Method in class HiddenField
- ImageButton::__construct() — Method in class ImageButton
- MultiChoiceControl::__construct() — Method in class MultiChoiceControl
- MultiSelectBox::__construct() — Method in class MultiSelectBox
- RadioList::__construct() — Method in class RadioList
- SelectBox::__construct() — Method in class SelectBox
- SubmitButton::__construct() — Method in class SubmitButton
- TextArea::__construct() — Method in class TextArea
- TextInput::__construct() — Method in class TextInput
- UploadControl::__construct() — Method in class UploadControl
- Form::__construct() — Method in class Form
- Form::__toString() — Method in class Form
- Rules::__construct() — Method in class Rules