caolan/forms — pull request #18 by johngeorgewright (2012-03-03 10:48:38+00:00)
Title: Choice field and validator

Hello,

I've added an extra field and validator called "choice".
The _validator_ takes an array of values and checks the field's value is within the array.
The _field_ automatically uses the _choice validator_ and the _select widget_.
Pretty basic really, but I think it makes life a bit easier when creating multiple choice fields.

Thanks,
John-George