Tracking other issues about validation

  1. #742344: Allow forms to set custom validation error messages on required fields needs backport for d7
  2. #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
  3. #941620: #skip_validation_errors : complement of #limit_validation_errors #limit_validation_errors and #skip_validation_errors
  4. #185852: Patch that adds the ability to set #executes_validate_callback property add .cancel class to all buttons with #executes_validate_callback == FALSE
  5. #1244862: Add #skip_validation property to 'Delete', 'Cancel' buttons
  6. #179126: if an error exists in the form set focus to first element which has an error
  7. #1173730: Add #reserved_values property to Form API elements to disallow reserved values
  8. #766146: Support multiple forms with same $form_id on the same page
  9. #1210700: Boolean required fields are not actually required
  10. #127262: Proposed hook_message_alter
  11. #675348: META: Support HTML5 form input elements / Implement Form API support for new HTML5 elements
    1. Support: #1174766: Support the #pattern FAPI property for native HTML5 pattern attribute
    2. Support: #1174640: Add new HTML5 FAPI element: number
    3. Support: #811542: Regression: Required radios throw illegal choice error when none selected
    4. Support: #1174630: Add new HTML5 FAPI element: url
    5. Support: #1174620: Add new HTML5 FAPI element: email
    6. Support: #1174646: Add new HTML5 FAPI element: range
    7. Support: #1174634: Add new HTML5 FAPI element: telephone
    8. Support: #1174628: Add new HTML5 FAPI element: search
    9. Support HTML5 color element
    10. Overview of html5 Drupal core issues/feature requests: Implement Form API support for new HTML5 elements

Feel free to add others as well

  1. Multivalue Settings: #1309504: Integrate in clientside validation
  2. Elements: #1309508: Integrate in clientside validation

Comments

attiks’s picture

Title: META: tracking other issues » META: tracking other issues about validation

better title ;p

attiks’s picture

Issue summary: View changes

updating list

Jelle_S’s picture

Jelle_S’s picture

Issue summary: View changes

added some more

Jelle_S’s picture

See also: Implement Form API support for new HTML5 elements for a clear overview of html5 Drupal core issues/feature requests

Jelle_S’s picture

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.

Jelle_S’s picture

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.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

attiks’s picture

Issue summary: View changes

updated

Jelle_S’s picture

HTML5 number is now completely supported in the latest dev. HTML5 validation has also been moved to a separate sub-module

Jelle_S’s picture

Issue summary: View changes

update

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Added HTML5 url support, see #1174630: Add new HTML5 FAPI element: url for the HTML5 url element patch for Drupal core.

Jelle_S’s picture

Added HTML5 email support, see #1174620: Add new HTML5 FAPI element: email for the HTML5 email element patch for Drupal core.

Jelle_S’s picture

Added HTML5 range support, see #1174646: Add new HTML5 FAPI element: range for the HTML5 range element patch for Drupal core.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

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.

Jelle_S’s picture

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.

Jelle_S’s picture

Added HTML5 color support. Right now (Aug 10, 2011) there is no patch yet for this element for Drupal core.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue tags: +validation, +html5, +HTML5 Sprint: August 2011 - 2

updated tags

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

webankit’s picture

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

attiks’s picture

#14: it isn't supported for the moment, I'll try to have a look asap.

attiks’s picture

Issue summary: View changes

added

attiks’s picture

Issue summary: View changes

Updated issue summary.

Jelle_S’s picture

Issue summary: View changes

Updated issue summary.

apaderno’s picture

Issue summary: View changes
Issue tags: -validation, -html5, -HTML5 Sprint: August 2011 - 2