Registration Form Validation Errors

Permalink
I am creating a custom validation page and I am having trouble getting the form validation to work on my custom user attribute fields. The errors are now displaying (Thanks gogza (http://www.concrete5.org/developers/bugs/5-4-2-2/registration-form-not-showing-submission-errors/), but the form is still not validating.

The fields are text attribute types. I can trace the validation to the default attribute type controller (concrete/models/attribute/types/default/controller.php) and the evalidateForm($data) function. The post data is being passed to this function but all that is in this function is return $data['value'] != ''; and the function always returns false.

I do not understand how this function works. What does $data['value'] do and how does it validate that the required fields are being filled out when the entire $_POST is being sent to the function? How do I get this function to validate properly? Any help is appreciated. Thanks in advance.

ScottSandbakken