Forums

Repeater field help!

andymet87 02 Oct, 2018
Hi all,

I've created a form with a repeating element in it. It can be found on the link below...

It appears to work as expected but on inspection of the database it is creating multiple entries of the first set of responses. The debug is showing this on submission:
Array
(
    [option] => com_chronoforms6
    [chronoform] => reg14consultation
    [event] => submit
    [first_name] => Fred
    [last_name] => Flinstone
    [company_name] => 
    [address_1_street] => 
    [address_2_road] => 
    [address_3_town] => 
    [address_4_county] => 
    [address_5_post_code] => TN1 2EP
    [email_address] => FRED@FRED.COM
    [southwater_parish_resident] => 
    [i_work_in_the_parish] => 
    [Stat_Consultee] => 
    [agent] => 
    [none_of_the_above] => 
    [Modela] => Array
        (
            [0] => Array
                (
                    [document] => Draft Reg.14 Neighbourhood Plan Map
                    [page] => 23
                    [comment] => Type the comment here 1
                )

            [1] => Array
                (
                    [document] => Draft Consultation Statement
                    [page] => 123
                    [comment] => Type the comment here 2 
                )

        )

    [general_consent] => 1
    [Regulation_15] => 1
    [Comment_Contact] => 1
    [Update_Contact] => 1
    [button7] => 
    [2b3b977ad33576e53b2309fabb6c2873] => mm83hejltrc1naua31hea4u664
    [b0cdd213cfb49158358468f26256a16a] => hmre6ihb2ifmidj4ukdduk7t70
    [Itemid] => 
)

The database is logging repeated entries (as expected) but with entries from the first field in every row.

All/any help greatly appreciated!

Cheers
healyhatman 03 Oct, 2018
It would help if you posted a screenshot of your save data action.
This topic is locked and no more replies can be posted.