I've tried validation_states sub-module and got an error:
Notice: Undefined index: #name in clientside_validation_states_regular() (line 37 of .../clientside_validation/clientside_validation_states/clientside_validation_states.module).
I suppose the #name property shouldn't be there as it uses only in button, submit form elements (according to FAPI)

Comments

sergey_panchenko’s picture

Issue summary: View changes
StatusFileSize
new1.36 KB

This issue can be reproduce when Form API states added to the container or wrapper that's why #name attribute can not be found. Here is the patch that loops through all child elements and creates js rules for each of them. This issue is also linked to https://www.drupal.org/project/clientside_validation/issues/2914383. Kindly review.

sergey_panchenko’s picture

Status: Active » Needs review