ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Channels with Grids not retaining data

October 29, 2013 5:01am

Subscribe [1]
  • #1 / Oct 29, 2013 5:01am

    arvinsim

    23 posts

    Data:

    I have 2 pages with {exp:channel:form} each using the same channel foo

    Channel foo has 4 fields with Grid fieldtypes, a, b c, d

    Page 1 shows a form to edit a

    Page 2 shows a form to edit b,c and d

    This is the problem that I have.

    When I try to submit Page 1, a data is saved but b, c, d data is erased.

    When I try to submit Page 2, b, c, and d data is saved but a data is erased.

    How do I fix this?


    It seems that this is a problem with grid fieldtype.

    When you save any channel that has a grid field using {exp:channel:form}, if that grid field is not included in the form, it will be reset/erased.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases