Active
Project:
Checkbox Validate
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2011 at 11:28 UTC
Updated:
12 Aug 2011 at 19:45 UTC
Hello,
the input-field from radio-buttons or from normal cck-text-fields get an error-class when the field is required and when the user will save the form without fill-out this field(s).
The problem is - by required checkboxes this error-class will not be set.
Has anyone a short fix for this problem?
Thank you and Regards
Matthias
Comments
Comment #1
mortona2k commentedI have the same problem, and I'd really like to find a solution. I think this module is a great candidate, but I don't know what to do, since the core field validation code isn't working as expected.
Comment #2
Berliner-dupe commentedHi Mortana42,
i found a solution.
With this code you can set an error-class to the label from checkbox - if checkbox is required and the user will save the form without fill-out the checkbox..
http://drupal.org/node/259292#comment-4817446