I have this setup:

Multiple fields table:
field_group_multiple_table: open
required_fields: yes
parent_format_type: Div
show_label: yes
label_element: Header 3
effect: none
speed: none

In this group I have two text fields (both are working fine) and one date field. All are set to unlimited values and required.
No matter which date field wigdet I select (tested with date_select, date_text and date_popup), the 1st date value is not saved.
I was looking in database, but there was no record neither. Other date values (2nd and all following) are saved and displayed OK.
Date fied is collecting only year, month and day.

Comments

cezaryrk’s picture

I have also some problems with the date field, but currently I didn't get to fix this.
I look in to it next week and post my results (or a fix).

radimklaska’s picture

I tried to debug this, but with no luck. Can you point me somewhere (function, variable, etc.) where you think can be the problem? Is there any additional info I can provide? Or just anything I can help with to push this issue forward... I really need this to be solved. :-)

radimklaska’s picture

Hmm, my coworker used custom validate funcion as part of temporary workaround and dates are now saved. I'm going to take a closer look at original validate functions...

cezaryrk’s picture

Assigned: Unassigned » cezaryrk
Status: Active » Fixed

The validation and process functions from date module have not correctly worked on grouped field, because they demand a correct path (#field_parents and #parents) of form elements to find the values added by the date field.
I modified this, so the validate and process works now correctly.

I pushed the last modifications to the 7.x-1.x branch.

Thanks for posting this.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Additional info