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
- Limit length - The number of records the user can submit
- 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
theboss likes this.