A Gravity Forms add-on that allows specified groups of fields to be repeated by the user.
Supported Fields
- 网址
- 复选框
- 时间
- 下拉菜单
- 邮箱地址
- 隐藏
- 编辑 HTML 源码
- MultiSelect
- 商店名字
- 数字
- Paragraph Text
- 电话号码
- 单选
- Section
- Single Line Text
- Time
- 站点
特点
- Repeat groups of fields multiple times
- Use multiple repeaters on the same form
- Use shortcodes to display data to the user
- Use Javascript to manipulate the repeater (See GitHub Page)
- Customize the add and remove button's HTML
- Use Gravity Forms pre-populate hooks and filters like normal
- Supports Conditional Logic!
Issues
- Not all fields are currently supported.
- Ajax enabled forms are not yet supported. (Ajax will be automatically disabled on forms with repeaters)
短码
You can place shortcodes inside of input labels, input descriptions, and HTML blocks!
- [gfRepeater-count] - Will output the current repeat number.
- [gfRepeater-buttons] - Will output both the '+' and '-' buttons.
- [gfRepeater-add] - Will output the '+' button.
- [gfRepeater-remove] - Will output the '-' button.
CSS类
You can use these CSS classes in the in the "Custom CSS Class" setting to do different things.
- gf_repeater_hide_add - Will hide the '+' button if placed in the repeater end css setting.
- gf_repeater_hide_remove - Will hide the '-' button if placed in the repeater end css setting.
Check out the source on GitHub!
https://github.com/kodie/gravityforms-repeater