 <blockquote> <p>Just a simple trick you can do</p> </blockquote> <p>just use a string variable for messages appending and counter.</p> <pre><code>$(document).ready(function () { var Messages; var counter=0; $('#btnSave').click(function (e) { validateTitle(); validatePrefix(); validateTextBoxes(); if(counter &gt; 0) { alert(Messages); e.preventDefault(); counter=0; } }); function validateTitle() { debugger; if ($("#ddlTitle").val() &gt; "0") { if ($("#ddlTitle").val() == "1104" &amp;&amp; $("#txtTitle").val() === "") { Messages += "Please enter the text in other title"; Messages += "\n"; counter ++; } } else { Messages += 'Please select the title'; Messages += "\n"; counter ++; } } function validatePrefix() { debugger; if ($("#ddlPrefix").val() &gt; "0") { if ($("#ddlPrefix").val() == "1110" &amp;&amp; $("#txtPrefix").val() === "") { Messages += "Please enter the text in other prefix"; Messages += "\n"; counter ++; } } else { Messages += 'Please select the prefix'; Messages += "\n"; counter ++; } } function validateTextBoxes() { debugger; if ($("#txtFirstName").val() === "") { Messages += 'First name is required'; Messages += "\n"; counter ++; } if ($("#txtMiddleName").val() === "") { Messages += 'Middle name is required'; Messages += "\n"; counter ++; } if ($("#txtLastName").val() === "") { Messages += 'Last name is required'; Messages += "\n"; counter ++; } if ($("#txtFatherName").val() === "") { Messages += 'Father name is required'; Messages += "\n"; counter ++; } if ($("#txtCurrentCompany").val() === "") { Messages += 'Current company is required'; Messages += "\n"; counter ++; } if ($("#txtDateofJoin").val() === "") { Messages += 'Date is required'; Messages += "\n"; counter ++; } if ($("#txtCurrentExp").val() === "") { Messages += 'Current Experience is required'; Messages += "\n"; counter ++; } } }); </code></pre> <blockquote> <p>Just update counter and impliment check if check > 0 show message (alert)</p> <p>it will benefit you two things </p> </blockquote> <ol> <li><p>User dont need to click each time and get alert.. dont need to return false.user Must know at once what erors are in form.</p></li> <li><p>Secondly code is simple/Simple logic.</p></li> </ol>