Tracking other issues about validation
#742344: Allow forms to set custom validation error messages on required fields needs backport for d7#216064: Entity form "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'see #2056219: General problem with drupal AJAX requests prevented by clientside validation- #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
Comment #1
attiks commentedbetter title ;p
Comment #1.0
attiks commentedupdating list
Comment #2
jelle_sAlready added support for #742344: Allow forms to set custom validation error messages on required fields on dev branch
Comment #2.0
jelle_sadded some more
Comment #3
jelle_sSee also: Implement Form API support for new HTML5 elements for a clear overview of html5 Drupal core issues/feature requests
Comment #4
jelle_sAdded 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.
Comment #5
jelle_sNote 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.
Comment #5.0
jelle_sUpdated issue summary.
Comment #5.1
attiks commentedupdated
Comment #6
jelle_sHTML5 number is now completely supported in the latest dev. HTML5 validation has also been moved to a separate sub-module
Comment #6.0
jelle_supdate
Comment #6.1
jelle_sUpdated issue summary.
Comment #6.2
jelle_sUpdated issue summary.
Comment #6.3
jelle_sUpdated issue summary.
Comment #6.4
jelle_sUpdated issue summary.
Comment #6.5
jelle_sUpdated issue summary.
Comment #6.6
jelle_sUpdated issue summary.
Comment #6.7
jelle_sUpdated issue summary.
Comment #6.8
jelle_sUpdated issue summary.
Comment #6.9
jelle_sUpdated issue summary.
Comment #6.10
jelle_sUpdated issue summary.
Comment #6.11
jelle_sUpdated issue summary.
Comment #7
jelle_sAdded HTML5 url support, see #1174630: Add new HTML5 FAPI element: url for the HTML5 url element patch for Drupal core.
Comment #8
jelle_sAdded HTML5 email support, see #1174620: Add new HTML5 FAPI element: email for the HTML5 email element patch for Drupal core.
Comment #9
jelle_sAdded HTML5 range support, see #1174646: Add new HTML5 FAPI element: range for the HTML5 range element patch for Drupal core.
Comment #9.0
jelle_sUpdated issue summary.
Comment #9.1
jelle_sUpdated issue summary.
Comment #9.2
jelle_sUpdated issue summary.
Comment #10
jelle_sAdded 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.
Comment #11
jelle_sAdded 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.
Comment #12
jelle_sAdded HTML5 color support. Right now (Aug 10, 2011) there is no patch yet for this element for Drupal core.
Comment #12.0
jelle_sUpdated issue summary.
Comment #13
jelle_supdated tags
Comment #13.0
jelle_sUpdated issue summary.
Comment #14
webankit commentedI 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
Comment #15
attiks commented#14: it isn't supported for the moment, I'll try to have a look asap.
Comment #15.0
attiks commentedadded
Comment #15.1
attiks commentedUpdated issue summary.
Comment #15.2
jelle_sUpdated issue summary.
Comment #16
avpaderno