• This hasn’t been updated in a while.

    It used to work wonderfully, but is no longer functional in my experiences.

Viewing 6 replies - 1 through 6 (of 6 total)
  • can confirm, breaks website to not load with error

    PHP Fatal error: Cannot declare class GF_Field_Repeater, because the name is already in use in C:\xampp\htdocs\wp-content\plugins\repeater-add-on-for-gravity-forms\class-gf-field-repeater.php on line 635

    I’m seeing the same thing. Same error:

    Fatal error: Cannot redeclare class GF_Field_Repeater in /home/website/public_html/wp-content/plugins/repeater-add-on-for-gravity-forms/class-gf-field-repeater.php on line 0

    Thread Starter ryan232

    (@ryan232)

    I can recommend an alternative that will allow you to accomplish a similar functionality.

    Through Gravity Perks, there is a “Perk” called GF Nested Forms. It allows you to create a separate form and then add nest it within your main form using a new “Nested Form” field.

    The user can create multiple entries of the same form which are displayed in a table format. At this point, there are some styling issues when using wide tables and on mobile, but these can be fixed using some CSS (and in some cases, JS)

    Gravity Forms version 2.4 onwards:
    The Repeater functionality is included in the core, but as on 19-Jan-2019, it does not have a GUI and has to be added programmatically.

    DOCS: https://docs.gravityforms.com/repeater-fields/

    • This reply was modified 6 years, 1 month ago by Vachan Kudmule. Reason: Formatting issue

    PARTIALLY SOLVED

    Indeed , GravityForms 2.4+ includes (beta / hidden) repeater feature.
    But the class name used in GF is the same GF_Field_Repeater.

    I ended up replacing the class name GF_Field_Repeater with GF_Field_Repeater2 in all occurrences in all files of the plugin.
    And renaming every occurence of “repeater” with “repeater2” and ‘repeater’ with ‘repeater2’ (note the difference between ‘ and “).
    Finally renamed files containing repeater with repeater2 (i.e. class-gf-field-repeater.php becomes class-gf-field-repeater2.php, etc ) and renamed the plugin folder.

    Obviously, this is a in quick and dirty mode, still I edited the plugin;
    but A/it is no longer supported (Big up and many thanks anyway to the author) so no upgrade available = no upgrade overwrites
    B/I guess GF will provide soon a gui for its native repeater.

    I repacked the whole working version, so you can download it here
    https://www.dropbox.com/s/50kahlyb67gkq18/repeater2-add-on-for-gravity-forms.zip?dl=0

    This works at least for me. I’ve just tested it very briefly on a basic form, so I dont guarantee blah blah it will work for you Disclaimer blah blah.

    Thread Starter ryan232

    (@ryan232)

    Great info and thanks for the update to the plugin!

    Many thanks! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No longer works correctly’ is closed to new replies.