Save multifield data

michele.marchionna 05 Nov, 2014
Dear members,

I've a problem with multifileld in my form. I can't save the multifield data, I've also insert a custom code field for view the form's data with a 'var_dump($form)' and the values that the form send are just the last one. I've also insert before the DB save action the 'Handle Arrays', but nothing happens.

In the var_dump() of the form on submit I see only the last value of my mutifield:
Data, Address

What I do wrong?

Thanks.

Michele Marchionna
GreyHead 06 Nov, 2014
Hi Michele ,

You need to give the multifield element an array name e.g. input_name[] with the [] at the end, otherwise it will just return the last selected value.

Bob
This topic is locked and no more replies can be posted.