chrismiles / EZForm

iOS form handling and validation library.
MIT License
284 stars 64 forks source link

Added a setValidator method #49

Closed tasomaniac closed 9 years ago

tasomaniac commented 10 years ago

When we manually add a validator to a EZFormField, we cannot change the behaviour of it. We have to re-initialize it and re-add it to the form. If we do not want to broke the order of the fields, we have to re-initialize the whole form.

With setValidator method we can change the behaviour of an EZFormField dynamically on certain cases.

tasomaniac commented 9 years ago

Thank you for merging this and thank you for the great library.