wpalchemy icon indicating copy to clipboard operation
wpalchemy copied to clipboard

Data type / format validation.

Open johnraz opened this issue 13 years ago • 2 comments

I was just wondering if you implemented anything like data validation in the class yet ?

If it's not the case I think it would be a great addition.

Just dropping my 2 cents here ;-)

edit: I just read myself again - what I meant is more checking for data type (string, int, float, ..) or string format (email, phone number, ...). That could even be achieved using the new input type in html 5.

Would anybody find this useful ?

johnraz avatar Jul 13 '11 08:07 johnraz

John, no validation is currently done in the class. I like the idea, and equally would like to keep it very basic. I've marked this as a feature and I'll review it again.

farinspace avatar Jul 18 '11 16:07 farinspace

Feel free to give me direction if you need some help ;-)

johnraz avatar Jul 19 '11 11:07 johnraz