Hello C# Corner,
Checkbox to be checked before submit the information .If its false , message box appears . No information will be inserted to database
when checkbox is false , only when its true.
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
Ranjit PowarRank #553 · 4.4K reputationPosted Feb 2, 2016, 4:54 PM EST
$('form').submit (function (){
if ($('#checkbox1').is(':checked'))
{
alert('your message');
}
});
If it helps you, select it as correct answer
Raja TRank #685 · 3.5K reputationPosted Feb 2, 2016, 6:25 PM EST