A

Container::addComponent() — Method in class Container

Adds the specified component to the IContainer.

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 input for email.

Container::addInteger() — Method in class Container

Adds input for integer.

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::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 naming container to the form.

ControlGroup::add() — Method in class ControlGroup
BaseControl::addRule() — Method in class BaseControl

Adds a validation rule.

BaseControl::addCondition() — Method in class BaseControl

Adds a validation condition a returns new branch.

BaseControl::addConditionOn() — Method in class BaseControl

Adds a validation condition based on another control a returns new branch.

BaseControl::addFilter() — Method in class BaseControl

Adds a input filter callback.

BaseControl::addError() — Method in class BaseControl

Adds error message to the list.

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#actionProperty in class Form
Form::allowCrossOrigin() — Method in class Form

Disables CSRF protection using a SameSite cookie.

Form::addProtection() — Method in class Form

Cross-Site Request Forgery (CSRF) form protection.

Form::addGroup() — Method in class Form

Adds fieldset group to the form.

Form::addError() — Method in class Form

Adds global error message.

$ Rule#argProperty 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 specified control a returns new branch.

Rules::addFilter() — Method in class Rules

Adds a filter callback.

B

BaseControlClass in namespace Nette\Forms\Controls

Base class that implements the basic functionality common to form controls.

ButtonClass in namespace Nette\Forms\Controls

Push button control with no default behavior.

Form::beforeRender() — Method in class Form
$ Rule#branchProperty in class Rule

C

ContainerClass in namespace Nette\Forms

Container for form controls.

$ Container#currentGroupProperty in class Container
$ Container#controlsProperty in class Container
ControlClass in namespace Nette\Forms

Defines method that must be implemented to allow a component to act like a form control.

ControlGroupClass in namespace Nette\Forms

A user group of form controls.

$ ControlGroup#controlsProperty in class ControlGroup
$ BaseControl#controlProperty in class BaseControl
$ BaseControl#captionProperty in class BaseControl
$ BaseControl#controlPrototypeProperty in class BaseControl
BaseControl::cleanErrors() — Method in class BaseControl
CheckboxClass in namespace Nette\Forms\Controls

Check box control. Allows the user to select a true or false condition.

CheckboxListClass in namespace Nette\Forms\Controls

Set of checkboxes.

$ CheckboxList#containerProperty in class CheckboxList
$ CheckboxList#containerPrototypeProperty in class CheckboxList
ChoiceControlClass in namespace Nette\Forms\Controls

Choice control that allows single item selection.

ChoiceControl::checkDefaultValue() — Method in class ChoiceControl
CsrfProtectionClass in namespace Nette\Forms\Controls

CSRF protection field.

MultiChoiceControl::checkDefaultValue() — Method in class MultiChoiceControl
$ RadioList#containerProperty in class RadioList
$ RadioList#containerPrototypeProperty in class RadioList
SubmitButton::click() — Method in class SubmitButton

Fires click event.

$ Form#crossOriginProperty in class Form
Form::cleanErrors() — Method in class Form
Helpers::createInputList() — Method in class Helpers
Helpers::createSelectBox() — Method in class Helpers
$ DataClassGenerator#classNameSuffixProperty in class DataClassGenerator
$ DefaultFormRenderer#counterProperty in class DefaultFormRenderer
$ Rule#controlProperty in class Rule
Rule::canExport() — Method in class Rule

D

$ BaseControl#disabledProperty in class BaseControl
DataClassGeneratorClass in namespace Nette\Forms\Rendering

Generates blueprint of form data class.

DefaultFormRendererClass in namespace Nette\Forms\Rendering

Converts a Form into the HTML output.

E

Container::extensionMethod() — Method in class Container
$ BaseControl#errorsProperty in class BaseControl
$ BaseControl#errorProperty in class BaseControl
BaseControl::extensionMethod() — Method in class BaseControl
$ TextBase#emptyValueProperty in class TextBase
$ Form#errorsProperty in class Form
$ Form#elementPrototypeProperty in class Form
Helpers::extractHttpData() — Method in class Helpers

Extracts and sanitizes submitted form data for single control.

Helpers::exportRules() — Method in class Helpers
Rules::elseCondition() — Method in class Rules

Adds a else statement.

Rules::endCondition() — Method in class Rules

Ends current validation condition.

F

FormsExtensionClass in namespace Nette\Bridges\FormsDI

Forms extension for Nette DI.

FormMacrosClass in namespace Nette\Bridges\FormsLatte

Latte macros for Nette\Forms.

$ Container#formProperty in class Container
$ BaseControl#formProperty in class BaseControl
$ BaseControl#filledProperty in class BaseControl
FormClass in namespace Nette\Forms

Creates, validates and renders HTML forms.

Form::fireEvents() — Method in class Form

Fires submit/click events.

Form::fireRenderEvents() — Method in class Form

Must be called before form is rendered and render() is not used.

FormRendererClass in namespace Nette\Forms

Defines method that must implement form renderer.

$ DefaultFormRenderer#formProperty in class DefaultFormRenderer
Validator::formatMessage() — Method in class Validator

G

Container::getValues() — Method in class Container

Returns the values submitted by the form.

Container::getUnsafeValues() — Method in class Container

Returns the potentially unvalidated values submitted by the form.

Container::getErrors() — Method in class Container

Returns all validation errors.

Container::getCurrentGroup() — Method in class Container

Returns current group.

Container::getControls() — Method in class Container

Iterates over all form controls.

Container::getForm() — Method in class Container

Returns form.

Control::getValue() — Method in class Control

Returns control's value.

Control::getErrors() — Method in class Control

Returns errors corresponding to control.

ControlGroup::getControls() — Method in class ControlGroup
ControlGroup::getOption() — Method in class ControlGroup

Returns user-specific option.

ControlGroup::getOptions() — Method in class ControlGroup

Returns user-specific options.

BaseControl::getCaption() — Method in class BaseControl
BaseControl::getForm() — Method in class BaseControl

Returns form.

BaseControl::getHttpData() — Method in class BaseControl

Loads HTTP data.

BaseControl::getHtmlName() — Method in class BaseControl

Returns HTML name of control.

BaseControl::getValue() — Method in class BaseControl

Returns control's value.

BaseControl::getControl() — Method in class BaseControl

Generates control's HTML element.

BaseControl::getLabel() — Method in class BaseControl

Generates label's HTML element.

BaseControl::getControlPart() — Method in class BaseControl
BaseControl::getLabelPart() — Method in class BaseControl
BaseControl::getControlPrototype() — Method in class BaseControl

Returns control's HTML element template.

BaseControl::getLabelPrototype() — Method in class BaseControl

Returns label's HTML element template.

BaseControl::getHtmlId() — Method in class BaseControl

Returns control's HTML id.

BaseControl::getTranslator() — Method in class BaseControl

Returns translate adapter.

BaseControl::getRules() — Method in class BaseControl
BaseControl::getError() — Method in class BaseControl

Returns errors corresponding to control.

BaseControl::getErrors() — Method in class BaseControl

Returns errors corresponding to control.

BaseControl::getOption() — Method in class BaseControl

Returns user-specific option.

BaseControl::getOptions() — Method in class BaseControl

Returns user-specific 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

Generates control's HTML element.

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

Generates control's HTML element.

CheckboxList::getLabel() — Method in class CheckboxList

Generates label's HTML element.

CheckboxList::getControlPart() — Method in class CheckboxList
CheckboxList::getLabelPart() — Method in class CheckboxList
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 selected key.

ChoiceControl::getRawValue() — Method in class ChoiceControl

Returns selected key (not checked).

ChoiceControl::getItems() — Method in class ChoiceControl

Returns items from which to choose.

ChoiceControl::getSelectedItem() — Method in class ChoiceControl

Returns selected value.

CsrfProtection::getToken() — Method in class CsrfProtection
CsrfProtection::getControl() — Method in class CsrfProtection

Generates control's HTML element.

HiddenField::getValue() — Method in class HiddenField

Returns control's value.

HiddenField::getControl() — Method in class HiddenField

Generates control's HTML element.

HiddenField::getLabel() — Method in class HiddenField

Bypasses label generation.

ImageButton::getHtmlName() — Method in class ImageButton

Returns HTML name of control.

MultiChoiceControl::getValue() — Method in class MultiChoiceControl

Returns selected keys.

MultiChoiceControl::getRawValue() — Method in class MultiChoiceControl

Returns selected keys (not checked).

MultiChoiceControl::getItems() — Method in class MultiChoiceControl

Returns items from which to choose.

MultiChoiceControl::getSelectedItems() — Method in class MultiChoiceControl

Returns selected values.

MultiChoiceControl::getHtmlName() — Method in class MultiChoiceControl

Returns HTML name of control.

MultiSelectBox::getControl() — Method in class MultiSelectBox

Generates control's HTML element.

MultiSelectBox::getOptionAttributes() — Method in class MultiSelectBox
$ RadioList#generateIdProperty in class RadioList
RadioList::getControl() — Method in class RadioList

Generates control's HTML element.

RadioList::getLabel() — Method in class RadioList

Generates label's HTML element.

RadioList::getControlPart() — Method in class RadioList
RadioList::getLabelPart() — Method in class RadioList
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

Generates control's HTML element.

SelectBox::getOptionAttributes() — Method in class SelectBox
SubmitButton::getValidationScope() — Method in class SubmitButton

Gets the validation scope.

SubmitButton::getControl() — Method in class SubmitButton

Generates control's HTML element.

TextArea::getControl() — Method in class TextArea

Generates control's HTML element.

TextBase::getValue() — Method in class TextBase

Returns control's value.

TextBase::getEmptyValue() — Method in class TextBase

Returns the special value which is treated as empty string.

TextBase::getControl() — Method in class TextBase

Generates control's HTML element.

TextBase::getRenderedValue() — Method in class TextBase
TextInput::getControl() — Method in class TextInput

Generates control's HTML element.

UploadControl::getHtmlName() — Method in class UploadControl

Returns HTML name of control.

Form::getForm() — Method in class Form

Returns form.

Form::getAction() — Method in class Form

Returns form's action.

Form::getMethod() — Method in class Form

Returns form's method.

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

Returns translate adapter.

Form::getHttpData() — Method in class Form

Returns submitted HTTP data.

Form::getErrors() — Method in class Form

Returns all validation errors.

Form::getOwnErrors() — Method in class Form

Returns form's validation errors.

Form::getElementPrototype() — Method in class Form

Returns form's HTML element template.

Form::getRenderer() — Method in class Form

Returns form renderer.

Form::getToggles() — Method in class Form
Helpers::generateHtmlName() — Method in class Helpers

Converts control name to HTML name.

DataClassGenerator::generateCode() — Method in class DataClassGenerator
DefaultFormRenderer::getWrapper() — Method in class DefaultFormRenderer
DefaultFormRenderer::getValue() — Method in class DefaultFormRenderer
Rules::getToggles() — Method in class Rules
Rules::getToggleStates() — Method in class Rules
Rules::getIterator() — Method in class Rules

Iterates over complete ruleset.

SubmitterControl::getValidationScope() — Method in class SubmitterControl

Gets the validation scope. Clicking the button validates only the controls within the specified scope.

H

$ BaseControl#htmlIdProperty in class BaseControl
$ BaseControl#htmlNameProperty in class BaseControl
BaseControl::hasErrors() — Method in class BaseControl
HiddenFieldClass in namespace Nette\Forms\Controls

Hidden form control used to store a non-displayed value.

$ Form#httpRequestProperty in class Form
Form::hasErrors() — Method in class Form
HelpersClass in namespace Nette\Forms

Forms helpers.

I

FormMacros::install() — Method in class FormMacros
Container::isValid() — Method in class Container

Is form valid?

Control::isOmitted() — Method in class Control

Is control value excluded from $form->getValues() result?

$ BaseControl#idMaskProperty in class BaseControl
BaseControl::isFilled() — Method in class BaseControl

Is control filled?

BaseControl::isDisabled() — Method in class BaseControl

Is control disabled?

BaseControl::isOmitted() — Method in class BaseControl

Is control value excluded from $form->getValues() result?

BaseControl::isRequired() — Method in class BaseControl

Is control mandatory?

Button::isFilled() — Method in class Button

Is button pressed?

Checkbox::isFilled() — Method in class Checkbox

Is control filled?

$ CheckboxList#itemLabelProperty in class CheckboxList
$ CheckboxList#itemLabelPrototypeProperty in class CheckboxList
$ ChoiceControl#itemsProperty in class ChoiceControl
ChoiceControl::isFilled() — Method in class ChoiceControl

Is any item selected?

ImageButtonClass in namespace Nette\Forms\Controls

Submittable image button form control.

$ MultiChoiceControl#itemsProperty in class MultiChoiceControl
MultiChoiceControl::isFilled() — Method in class MultiChoiceControl

Is any item selected?

$ RadioList#itemLabelProperty in class RadioList
$ RadioList#itemLabelPrototypeProperty in class RadioList
SelectBox::isOk() — Method in class SelectBox
SubmitButton::isSubmittedBy() — Method in class SubmitButton

Tells if the form was submitted by this button.

UploadControl::isFilled() — Method in class UploadControl

Has been any file uploaded?

UploadControl::isOk() — Method in class UploadControl

Have been all files succesfully uploaded?

Form::isMethod() — Method in class Form

Checks if the request method is the given one.

Form::isAnchored() — Method in class Form

Tells if the form is anchored.

Form::isSubmitted() — Method in class Form

Tells if the form was submitted.

Form::isSuccess() — Method in class Form

Tells if the form was submitted and successfully validated.

Form::initialize() — Method in class Form

Initialize standalone forms.

Helpers::iniGetSize() — Method in class Helpers
IControlClass in namespace Nette\Forms
IFormRendererClass in namespace Nette\Forms
ISubmitterControlClass in namespace Nette\Forms
$ Rule#isNegativeProperty in class Rule
Rules::isRequired() — Method in class Rules

Is control mandatory?

L

$ BaseControl#labelProperty in class BaseControl
$ BaseControl#labelPrototypeProperty in class BaseControl
BaseControl::loadHttpData() — Method in class BaseControl

Loads HTTP data.

CheckboxList::loadHttpData() — Method in class CheckboxList

Loads HTTP data.

ChoiceControl::loadHttpData() — Method in class ChoiceControl

Loads HTTP data.

CsrfProtection::loadHttpData() — Method in class CsrfProtection

Loads HTTP data.

ImageButton::loadHttpData() — Method in class ImageButton

Loads HTTP data.

MultiChoiceControl::loadHttpData() — Method in class MultiChoiceControl

Loads HTTP data.

SubmitButton::loadHttpData() — Method in class SubmitButton

Loads HTTP data.

TextInput::loadHttpData() — Method in class TextInput

Loads HTTP data.

UploadControl::loadHttpData() — Method in class UploadControl

Loads HTTP data.

LatteRendererClass in namespace Nette\Forms\Rendering

Generates Latte blueprint of form.

M

$ FormsExtension#messagesProperty in class FormsExtension
FormMacros::macroForm() — Method in class FormMacros

{form ...}

FormMacros::macroFormContext() — Method in class FormMacros

{formContext ...}

FormMacros::macroFormContainer() — Method in class FormMacros

{formContainer ...}

FormMacros::macroLabel() — Method in class FormMacros

{label ...}

FormMacros::macroLabelEnd() — Method in class FormMacros
{/label}
FormMacros::macroInput() — Method in class FormMacros

{input ...}

FormMacros::macroNameAttr() — Method in class FormMacros
, ,