for validation through Javascript or PHP we have to required long line of code.
why we not frequently use validation in HTML by only writing "required"?
ex. In HTML
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
saurabh mittal152 reputationPosted Apr 22, 2014, 11:40 PM EDT
Hi
we usually don't use required because Required is a HTML 5 attribute.and html 5 is
supported in new version of browser only.it will not work in older version of browser. and when we are making a website or application than we have to remember all the things and check that our application is working in each browser
with older and newer version.mostly in Internet Explorer
thanks
Gopi ChandRank #262 · 9.6K reputationPosted Apr 22, 2014, 11:28 PM EDT
http://www.c-sharpcorner.com/UploadFile/9a9e6f/validation-in-javascript/
Gopi ChandRank #262 · 9.6K reputationPosted Apr 29, 2014, 9:05 PM EDT
http://www.c-sharpcorner.com/UploadFile/9a9e6f/form-validation-through-php/
Sanjay SinghRank #779 · 2.9K reputationPosted May 4, 2014, 12:13 AM EDT