html5 validation for symfony 2.1
迷茫
迷茫 2017-05-16 16:45:35
0
2
683

Is it true that only html5 can directly use client-side verification?
What I mean is, if I don’t use the html5 validation control and I don’t use html5, am I unable to perform client-side validation?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(2)
Peter_Zhu

HTML5 control verification requires a browser that supports the HTML5 standard.

UPDATE:

Of course not. If you need custom form js verification, you can find a ready-made bundle, such as:

https://github.com/Abhoryo/APYJsFormV...

Or you can modify the form theme to add the js and css you need.

漂亮男人

This depends on whether the html tag you use for front-end verification needs to be supported by html5, such as this

<input type="text" name="usrname" required="required" />

As mentioned above, you can use js to implement this function instead

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template