Closed (fixed)
Project:
Field group multiple (D7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
3 Apr 2012 at 18:46 UTC
Updated:
15 May 2012 at 14:50 UTC
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
Comment #1
cezaryrk commentedI 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).
Comment #2
radimklaskaI 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. :-)
Comment #3
radimklaskaHmm, 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...
Comment #4
cezaryrk commentedThe 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.
Comment #5.0
(not verified) commentedAdditional info