forms icon indicating copy to clipboard operation
forms copied to clipboard

📝 Generating, validating and processing secure forms in PHP. Handy API, fully customizable, server & client side validation and mature design.

Results 44 forms issues
Sort by recently updated
recently updated
newest added

As @fprochazka firstly mentioned in #34, current api for form translations is inconsistent and not enough. For example: - `getLabel()` does not accept translation parameters (I have usecase with 3...

- bug report? yes - feature request? no - version: 2.4.4 ### Description Nette Forms have two rendering issues with using with groups ## 1. Can not place control to...

This code ```php $form->addGroup('Group 1'); $container1 = $form->addContainer('container1'); $container1->addText('foo', 'bar'); $form->addGroup('Group 2'); $container2 = $form->addContainer('container2'); $container2_1 = $nak->addContainer('contaniner2_1'); $container2_1->addText('foo', 'bar'); $form->addGroup('Group 3'); $container2_2 = $nak->addContainer('container2_2'); $container2_2->addText('foo', 'bar'); ``` render: ![2018-11-16_123615](https://user-images.githubusercontent.com/659193/48619304-541a9b80-e99c-11e8-8337-fc4b493d2557.jpg)

- new feature - BC break? probably no - doc PR: not need If you create form with selectbox and render it. Nothing change and submit form, we get first...

I think [validateMaxPostSize](https://github.com/nette/forms/blob/master/src/Forms/Form.php#L473) method is actually never called in case POST data exceeds `$_SERVER['CONTENT_LENGTH']`. It is meant to be called from [validate()](https://github.com/nette/forms/blob/master/src/Forms/Form.php#L467) which is called from [fireEvents](https://github.com/nette/forms/blob/master/src/Forms/Form.php#L401) but it can...

Common interface declaring `getControls()` would be useful for form renderers including DefaultFormRenderer. Example: ``` interface IControlContainer { /** @return IControl[] */ public function getControls(); } ``` then, DefaultFormRenderer::renderControls() could look...

See test that confirms the failure: http://pastebin.com/Xwpha0v2 my suggestions: - Nette\Forms\IControl should extend Nette\ComponentModel\IComponent (shouldn't even break BC of any existing controls, because $form->addComponent() receives only IComponent anyway) - wouldn't...

Can be useful to receive only updated values from form/container. For example: ```php $diff = $form->getUpdatedValues(); if (count($diff)) { $db->update(...); } else { $this->flash('Nothing changed.'); } # or $this->log("User $username:",...

- bug report? yes - feature request? no - version: 2.4 ### Description Při použití vlastních valičních pravidel se nepředají hodnoty, ale objekty: `[{"control":"username"},{"control":"first_name"},{"control":"last_name"}]` Toto nastane až při validaci prvku...

- bug report? no - feature request? yes - version: 2.4.5 ### Description I think it would be great to have helpers for closures and non-static methods. It can make...