On date field is not well defined #name, #title so admin prodice two PHP 5.3 notices in Drupal Error HTML place.

Notice: Undefined index: #name v clientside_validation_regular() (riadok 197 z ...modules/clientside_validation/clientside_validation_form/clientside_validation_form.module).
Notice: Undefined index: #title v clientside_validation_regular() (riadok 197 z ...modules/clientside_validation/clientside_validation_form/clientside_validation_form.module).

I added test for text of existing variables, because, what can show Client side validation if this filed have no name and title?

Comments

attiks’s picture

Possible related to #1669570: Date field validation

  • Can you post a screenshot of your date field on the node/edit page?
  • What is the default value?
  • Is the field required?
attiks’s picture

Status: Active » Postponed (maintainer needs more info)
mloigeret’s picture

StatusFileSize
new137.55 KB

Hello,

I have the same issue here.

Notice: Undefined index: #name in clientside_validation_regular() (line 194 of xxxxx/Sites/acquia-drupal/sites/xxxxx/modules/clientside_validation/clientside_validation_form/clientside_validation_form.module).
Notice: Undefined index: #title in clientside_validation_regular() (line 194 of xxxxx/Sites/acquia-drupal/sites/xxxxx/modules/clientside_validation/clientside_validation_form/clientside_validation_form.module).

The field is required and the issue stops if not required.

I attached a screenshot of the date field edit page.

Any help would be appreciated :)

attiks’s picture

Status: Postponed (maintainer needs more info) » Active

Can you post a screenshot of the user add/edit page as well?

mloigeret’s picture

StatusFileSize
new122.84 KB

Here it is...
Everything is in French by the way I guess you will find it but the field we are looking for is "Date de Naissance"

attiks’s picture

Reason is that it's rendered as a text field, will try to fix it later today.

mloigeret’s picture

any news on this subject? I can't fiend a way to go around it

attiks’s picture

Assigned: Unassigned » jelle_s

Sorry, I missed it, I'll ask Jelle_S to have a look at it tomorrow

jelle_s’s picture

Status: Active » Fixed

Fixed in the latest dev version

mloigeret’s picture

Thanks! I will try it today!

Status: Fixed » Closed (fixed)

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