Why form validation in JavaScript and PHP is needed when there are pretty much constraints in html itself. For example, type=number, min, max, step and required. Common convention is using empty() in PHP but there is a required in html. Is it redundant or is it really necessary?
没有评论:
发表评论