Forums

CF7 - Repeater

Trappole 03 Jan, 2021
Hi all, is there any manual who explain how to use a repeater. I found only a manual for version 6 and it's quite different.
My needs are to create a form with a header and a variable numbers of rows, min 1 and max decided by the user. The user would add rows either clicking a button or choosing the number from a dropdown
Trappole 05 Jan, 2021
I found a way (maybe).I created the form with the header and a line.Then I added a "repeater" area which includes a row exactly the same as the one created above.Then I added a button to which I gave the "Add Clone" action which adds, at least visually, a line, just as I wanted.Now
the problem is how to give the various fields in the different lines
different names. In CF6 you could insert square brackets to create
arrays but in CF7 these characters are not allowed (they are
automatically deleted as soon as the key is pressed).Am I going in the right direction with repeaters?
Trappole 06 Jan, 2021
Thank you Sem, I missed this topic. I'll read very carefully and hope CF helps both of us
sem 06 Jan, 2021
Hi - answer is in the final post - the demo form explained everything as long as you heed what Max says in the post. Got it working straight away once pointed in the right direction.
You need to login to be able to post a reply.