1. Fabrik 3.7 is now available. This version contains critical security updates, please update as soon as possible. Please remember to backup your site before updating, we also recommend testing your updates on development sites if possible.
  2. We had to restore the site around midday (CST) on Wed 7/26 from a backup approximately 8 hours old. So a few posts in the forums were lost. You may want to check to see if you need to re-post anything.
  3. The release of Fabrik for J! 3.8 is not yet ready. Do not update your sites to J! 3.8 until this notice is removed.

Limit form plugin

Nov 13, 2013
Limit form plugin

  • Introduction(top)


    This form plugin limits the number of records a user can submit

    Options(top)

    limit.png

    • User element - The element which is recording which user is adding/editing the record
    • Limit reached message - The message shown when the user can no longer submit additional records
    • Allow anonymous - Allow anonymous/guest users to enter records, guest users can add as many records as they like
    You can limit the records in 2 ways, the first is a set value

    • Limit length - The number of records the user can submit
    The other way to limit records is to perform a lookup in another list

    • Connection - The fabrik connection containing the lookup list
    • Lookup list - The name of the look up list
    • Type -
      • User - we obtain the maximum number of allowed submissions by searching the list for records where the lookup element = the user id.
      • Group - we search the list for records where the look up element contains one of the user's group ids.
        In all cases if more than one record is found then the maximum matched value is returned.
    • Lookup element - The element that contains user or user group ids.
    • Max element - Once the limit record has been found, this element contains the number of records that given user can submit. Set to -1 if this user can submit a unlimited number of records.
    • Condition - PHP statement to determine if the plugin should be run
  • Loading...
theboss likes this.