brutusin / json-forms

JSON Schema to HTML form generator, supporting dynamic subschemas (on the fly resolution). Extensible and customizable library with zero dependencies. Bootstrap add-ons provided
http://brutusin.org/json-forms
Apache License 2.0
607 stars 168 forks source link

Email validation #90

Open fabifabi opened 7 years ago

fabifabi commented 7 years ago

Email validation don't work,i can type what i want.... (ff&chrome tested)

idelvall commented 7 years ago

this version does not validate email by itself, instead it generates an input of type "email" that some clients (usually mobile browsers) use to generate a custom keyboard for entering the email. It seems that ff and chrome simply ignore the type. Good news is that version 2 includes email validation.

Thanks @fabifabi

fabifabi commented 7 years ago

viva version 2 so ! when u think it will be ready ? Little by little i modify the actual one,i am fear to become too different of the official one :(

idelvall commented 7 years ago

it's almost done, i hope in less than a month. I will let you know Cheers

fabifabi commented 7 years ago

thank u,i will do the french version, no problem :)

fabifabi commented 7 years ago

https://github.com/cferdinandi/validate and https://css-tricks.com/form-validation-part-1-constraint-validation-html/ can be a nice lib for v2 no ? as input à la html5 is not well supported in all browser.... Perhaps just use it or take inspiration from it ?

idelvall commented 7 years ago

Thank you @fabifabi! Of course, inspiration is always welcome. Cheers, Nacho