- πΊπΈUnited States smustgrave
Since there hasn't been movement on this in many years wonder if it's still a valid task?
If so could the IS be updated please.
_form_validate() does several things that could be separated into standard #element_validate handlers for greater modularity and greater flexibility for modules implementing new form element types.
The check for #required and #maxlength is done inline in _form_validate(), while e.g. #pattern is checked with a separate element_validate handler.
_form_validate() also checks that the submitted value is among the available options in the #options array. Not all elements utilizing an #options array is checked in the same way, so the function is hardcodes to give 'checkboxes' and 'tableselect' elements special treatment. Not very general, and not very friendly towards custom modules implementing new elements that use an #options array.
Postponed: needs info
9.5
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Since there hasn't been movement on this in many years wonder if it's still a valid task?
If so could the IS be updated please.