1. "Fabrik 4" helpers needed!

    You are invited to join other community members active in coding, maintaining and improving Fabrik. Please visit https://fabrik.help for more information!
    Dismiss Notice

Limit form plugin

Apr 20, 2018
Limit form plugin
  • This form plugin limits the number of records a user can submit




    • 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...
samani and theboss like this.