what are the wrong in this code.form is submited to server even user enter wrong input.
And dont know which place are good to call below function:form onsubmit or button onclick.
Loading
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
Ravi ShekharRank #673 · 3.6K reputationPosted May 3, 2013, 1:18 AM EDT
i think you should take a server button control and call RequireFieldValidation() method on onclientclick
regards ,
ravi