Buy Now
Sign in

Repeater fields not saved in the data table table

mainsyseu , January 22 2020, 07:07
M
mainsyseu 8
January 22 2020, 07:07 #390839
Hello i have designed a form with a repeater area and the problem that i have is that when i press submit only the last fields of the repeater area are saved for example say i have Guest 1 and Guest 2 only the fields of the Guest 2 will be shown in the data table of the form
healyhatman 9
January 23 2020, 11:33 #390870
You need to give the fields an array-like name. Something like model[{var:area_repeater#.key}][field_name] Or just put the model name in the repeater area's model setting.
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store