LimitRepeater by Robin S

Allows limits and restrictions to be placed on selected Repeater fields.

LimitRepeater

A module for ProcessWire CMS/CMF. Allows limits and restrictions to be placed on selected Repeater fields.

For any Repeater field and for any or all roles, you can limit the number of items that may be added and also prevent the use of drag-sorting, toggling of published state, and the trashing of items.

For example, you could fix a Repeater at some arbitrary number of items for non-superuser roles by setting the limit to 1 and checking "No trash". Then as superuser you can add as many Repeater items as needed but other roles may not change the number of items.

Usage


Install the LimitRepeater module.

The module configuration screen should be self-explanatory.

You can add rows as needed using the "Add another row" button.

Please note that limits and restrictions are applied with CSS/JS so should not be considered tamper-proof.

License


Released under Mozilla Public License v2. See file LICENSE for details.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Twitter updates

  • ProcessWire 3.0.192 (dev branch) contains 11 issue fixes and 5 pull requests, over 20 commits— More
    7 January 2022
  • ProcessWire 3.0.191 core updates: updates to the installer and the profile exporter module— More
    24 December 2021
  • This week ProcessWire went on a diet, trimming the core size from 15.5 MB down to 7.5 MB by moving optional site profiles into their own GitHub repos— More
    17 December 2021

Latest news

  • ProcessWire Weekly #402
    In the 402nd issue of ProcessWire Weekly we'll check out ProcessWire 3.0.193, highlight recent ProcessWire projects and resources, and more. Read on!
    Weekly.pw / 22 January 2022
  • ProcessWire 3.0.190 core updates
    ProcessWire 3.0.190 has 15 commits relative to 3.0.189 and contains a mixture of issue resolutions and feature additions. This post covers them all, in addition to updates for the PageAutosave and ProFields Table modules.
    Blog / 3 December 2021
  • Subscribe to weekly ProcessWire news

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani