Gravity Forms Quantity Limits
=============================

Version 0.2.2

Limit the display of product fields with Gravity Forms based on the number of entries.

Currently only works for single product fields with a quantity defined. Limit does not count against entries in the trash.

Great for event registration or product quantity limiting.

Built with Better Inventory with Gravity Forms from Gravity Wiz
http://gravitywiz.com/2012/09/19/better-inventory-with-gravity-forms/

## Todo
* Validation for not allowing duplicate field limits

## Requirements
* WordPress 3.5
* PHP 5.3
* Gravity Forms 1.6 - [Grab a license](http://www.gravityforms.com/) if you don't already have one

## Installation
1. Install as a regular WordPress plugin
2. Create a form with one or more product fields
3. Navigate to Forms->Quantity Limits to setup limit feeds for the desired quantity fields

## Changelog

### 0.2.2
* Disable checking and unchecking feeds for now

### 0.2.1
* Fixed error when feed is unchecked

### 0.2 (March 15, 2013)
* Custom messages for remaining items, limit reached and validation

### 0.1 (March 14, 2013)
* Initial release

## License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to:

Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.