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?
业精于勤,荒于嬉;行成于思,毁于随。
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
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
As mentioned above, you can use js to implement this function instead