The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Default number of repeater repeats?

Labels

This Discussion is public

Notifications

Hi gang,

I'm looking to use the repeater field, but I want to make it so the default number of repeated fields is 10. Rather than having the user click add 9 times, I would like to just have it pre-populated with 10 repeats on load.

Is this possible?

Thanks

Lachlan

Hi Lachlan,

You can use this hook - 
https://formidableforms.com/knowledgebase/frm_repeat_start_rows/

Replace field ID '508' in the example with the ID of your repeater field.

If you do not know, how to add this hook in your website - the easiest way is to use code snippet plugin 
https://wordpress.org/plugins/code-snippets/
Install the plugin, add the code and activate it.

Cheers,

Sujeevan

Discussion closed.