forms
forms copied to clipboard
📝 Generating, validating and processing secure forms in PHP. Handy API, fully customizable, server & client side validation and mature design.
- bug fix - BC break? no Closes #289
Version: 3.1.6 ### Bug Description Call $container->getValues() returns emtpy values if $container or his parent is in submit validation scope. See new test case
Add BackedEnum support for ChoiceControl.php and MultiChoiceControl.php
- new feature - BC break? no - doc PR: not needed Some validation methods of form `Validator` require a specifc type of control instead of generic `IControl` interface. This...
This is useful when you want to show user an informative error message, whose text depends on some external data that depends on the value of some other field. For...
- bug fix? no - new feature? yes - BC break? no adds support for ```php // class without __toString method final class User { // .. } $repo =...
Element :submit does not contain validation rules. - bug fix? yes - new feature? no - BC break? no
The JS library always uses a hardcoded error text: "Please enter a valid value." if a type="number" field is misfilled. It should only fall back to the hardcoded text if...
to solve #114
Sometimes it's useful visually distinguish valid/invalid inputs. We use something like the code in this PR. When we need to use another CSS classes or something absolutely different, it's possible...