gsouf / UForm

php form library
Other
0 stars 2 forks source link

Add length to validator builder #20

Open gsouf opened 9 years ago

gsouf commented 9 years ago

The length method would add a StringLength validator and will also add the option minLength maxLength. That can be used in html render (html5 validation eg).