Posted by attiks on August 4, 2011 at 9:47pm
3 followers
Jump to:
| Project: | Clientside Validation |
| Version: | 7.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | html5, HTML5 Sprint: August 2011 - 2, validation |
Issue Summary
Tracking other issues about validation
#742344: Allow forms to set custom validation error messages on required fields needs backport for d7- #216064: Delete button triggers server-side + HTML5 form validation; change Delete button to a link add .cancel class to all buttons with 'empty' '#limit_validation_errors
- #941620: #skip_validation_errors : complement of #limit_validation_errors #limit_validation_errors and #skip_validation_errors
- #185852: Patch that adds the ability to set #executes_validate_callback property add .cancel class to all buttons with #executes_validate_callback == FALSE
- #1244862: Add #skip_validation property to 'Delete', 'Cancel' buttons
- #179126: if an error exists in the form set focus to first element which has an error
- #1173730: Add #reserved_values property to Form API elements to disallow reserved values
- #766146: Support multiple forms with same $form_id on the same page
- #1210700: Boolean required fields are not actually required
- #127262: Proposed hook_message_alter
- #675348: META: Support HTML5 form input elements / Implement Form API support for new HTML5 elements
Support: #1174766: Support the #pattern FAPI property for native HTML5 pattern attributeSupport: #1174640: Add new HTML5 FAPI element: number- Support: #811542: Regression: Required radios throw illegal choice error when none selected
Support: #1174630: Add new HTML5 FAPI element: urlSupport: #1174620: Add new HTML5 FAPI element: emailSupport: #1174646: Add new HTML5 FAPI element: rangeSupport: #1174634: Add new HTML5 FAPI element: telephoneSupport: #1174628: Add new HTML5 FAPI element: searchSupport HTML5 color element- Overview of html5 Drupal core issues/feature requests: Implement Form API support for new HTML5 elements
Feel free to add others as well
- Multivalue Settings: #1309504: Integrate in clientside validation
- Elements: #1309508: Integrate in clientside validation
Comments
#1
better title ;p
#2
Already added support for #742344: Allow forms to set custom validation error messages on required fields on dev branch
#3
See also: Implement Form API support for new HTML5 elements for a clear overview of html5 Drupal core issues/feature requests
#4
Added support for number HTML5 element on the 7.x-1.x dev branch + setting to replace HTML5 validation with clientside validation. See #1174640: Add new HTML5 FAPI element: number for HTML5 number element patch.
#5
Note on previous comment:
the step attribute is not yet supported!
e.g:
#min => 0.1
#max => 2.1
#step => 1
Clientside Validation wil let ALL values between 0.1 and 2.1 pass and not only [0.1, 1.1, 2.1]. This means we still need to figure this out somehow.
#6
HTML5 number is now completely supported in the latest dev. HTML5 validation has also been moved to a separate sub-module
#7
Added HTML5 url support, see #1174630: Add new HTML5 FAPI element: url for the HTML5 url element patch for Drupal core.
#8
Added HTML5 email support, see #1174620: Add new HTML5 FAPI element: email for the HTML5 email element patch for Drupal core.
#9
Added HTML5 range support, see #1174646: Add new HTML5 FAPI element: range for the HTML5 range element patch for Drupal core.
#10
Added HTML5 pattern attribute support, see #1174766: Support the #pattern FAPI property for native HTML5 pattern attribute for the HTML5 pattern attribute patch for Drupal core.
#11
Added HML5 search and telephone support (these elements don't need extra validation, besides the already supported required, pattern, etc), see #1174634: Add new HTML5 FAPI element: telephone and #1174628: Add new HTML5 FAPI element: search for the HTML5 search and telephone element patch for Drupal core.
#12
Added HTML5 color support. Right now (Aug 10, 2011) there is no patch yet for this element for Drupal core.
#13
updated tags
#14
I am using elements module.. is it supported
I tried to add a phone field but on entering alphabets nothing happened.
Do i need to add any validation also via some other way like form validation module.
Plz guide
#15
#14: it isn't supported for the moment, I'll try to have a look asap.