-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor bug in HiddenField #5
Open
tf198
wants to merge
44
commits into
xdissent:master
Choose a base branch
from
tf198:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…pejs) for real-time and client-side validation (example updated).
…ue is not an array; it may simply have received no input.
…y the OptionsField subclass.
…is for CheckboxWidgets. But it'd probably be better to have a single OptionsField and choose between radio and checkbox widgets at instantiation.
- Little API changes (use PhormValidation::Required instead of a callback function for required fields) - Little speed inprovements - Better integration of live (javascript) validation. - Add support for translations - W3C validation passed - Better html indentation - Add Phorm::display() to display a complete form - Merge of Phorm and PhormExt, please use Phorm (class name) now - Bug fixes
…efault, or optionally an OptionGroupWidget with RadioWidgets or CheckboxWidgets if specified.
…lean_data method, add get_raw_value (for post-validate to get access to values that haven't made available yet -- yuck!), and move error gathering and value gathering directly into their respective functions.
Removed Javascript files, its gonna happen later when an Ajax way is introduced in parallel with the proper server-side way. Removed docs (regenerate later when everything is smooth). Removed extra examples and classes. Splitted classes to files. Unified loading of classes. Started implementing filter_var wherever possible. Fixed a lot of PHPDoc comments. Signed-off-by: Petsagourakis George <[email protected]>
…nteger", added $size param to Decimal and Integer fields, simplified built-in 'required' validation, changed default form method from GET to POST, added display_errors() function to output ALL error messages, and added a public fields() function to expose all form field objects for looping. Added a new example file, and cleaned up some code and comments.
… built-in _required_ validation code
…f "required" validator.
add validate_required_field: checks if checkbox is checked in case of "required" validator.
add further checks in file_was_uploaded
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.