One the first entry of the field group is saved to db. The ones added with "Add Another Item" is not saved and displayed.

Comments

cezaryrk’s picture

Can you send me more details, like your field configuration (screenshot of configuration) so i can try to reproduce the bug or the
* the selected group type
* which field types you grouped
* and the cardinality of the fields

Thank you

cezaryrk’s picture

Assigned: Unassigned » cezaryrk
tutumlum’s picture

StatusFileSize
new57.07 KB
new19.03 KB
new96.75 KB
new19.58 KB

2 simple text fields I have grouped. I have tried radio buttons and date field at the beginning, it did not work. I have removed radio buttons and date selection, but still not working.

Screen shots are attached for the form, result display, structure, and db records.

cezaryrk’s picture

I think I maybe know what the problem is, I get the same behaviour in the form when I forget to set the "number of values" in both fields to "unlimited", the values are per default set to "1", so only one value will be saved. Try to change this in the configuration of the two fields.

And because of the display of the node, the group that you create in the form applies not in the display, you must create a additional group under "Manage display" and also group the fields there.

Maybe that is the solution.

I try to fix this cardinality issue in the code, so that the "Add more" Button will be disabled when the maximum amount of values is reached and add an additional information to the form UI which shows how many values depending of group fields configuration can be added. This should enhance the usability of this modul.

Thank you very much for testing, I post an update when the modifications are ready

cezaryrk’s picture

Okay, I added the modifications to 7.x-1.0-alpha3

cezaryrk’s picture

Status: Active » Postponed
cezaryrk’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.0-alpha10
Status: Postponed » Fixed
cezaryrk’s picture

Version: 7.x-1.0-alpha10 » 7.x-1.0-alpha11

Okay I was a little bit premature in the release creation of alpha10, some major bugs had slipped in.

Sorry for that, the new release is now alpha11.

Status: Fixed » Closed (fixed)

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