Hi,
I created user registration fields using profile 2 module.. i installed field validation module to validate profile 2 fields. i installed clientside validation module. but it is not working.. the error message is shown only after clicking create new account button.. the error is not displaying after the input at the moment the user enters wrong data.. i enabled after input option.. but not wroth of it.. please give valuable information regarding this.
thanks in advance.

Comments

jelle_s’s picture

This should be fixed in the latest dev version (download from git or wait at least 12 hours to download it from drupal.org). Can you confirm?

jelle_s’s picture

Status: Active » Fixed
gopisundar’s picture

Warning: Invalid argument supplied for foreach() in element_children() (line 6124 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\includes\common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6124 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\includes\common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6124 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\includes\common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6124 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\includes\common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6124 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\includes\common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6124 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\includes\common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6124 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\includes\common.inc).

I installed latest dev version dated 20/1/2012(for drupal 7) of this module and i got this error in user account page for profile2 fields and

Notice: Undefined index: #type in clientside_validation_webform_after_build_recurse() (line 66 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\sites\all\modules\clientside_validation\clientside_validation_webform\clientside_validation_webform.module).
Notice: Undefined index: #type in clientside_validation_webform_after_build_recurse() (line 70 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\sites\all\modules\clientside_validation\clientside_validation_webform\clientside_validation_webform.module).
Notice: Undefined index: #name in clientside_validation_webform_after_build_recurse() (line 78 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\sites\all\modules\clientside_validation\clientside_validation_webform\clientside_validation_webform.module).
Notice: Undefined index: #name in clientside_validation_webform_after_build_recurse() (line 81 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\sites\all\modules\clientside_validation\clientside_validation_webform\clientside_validation_webform.module).

this error if i make file component field manditory in webform.(drupal 7).

gopisundar’s picture

Status: Fixed » Active
jelle_s’s picture

Status: Active » Fixed

The first error message should be fixed in the latest dev version, the second one I've created a separate issue for (#1413804: Undefined index #name on mandatory file field)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.