I have 5 text boxes and two buttons and i have provided validation group like
Textbox1 and Textbox2 - button 1 - group 1
Textbox3 and Textbox4 - button 2 - group 2
Now i want group2 to be validated in the button 1 click so i used the below js function
function Validate()
{
var isValid = false;
isValid = Page_ClientValidate('VG1');
if (isValid)
{
isValid = Page_ClientValidate('VG2');
}
return isValid;
}
But the issue is when i click the button 1 without any input then the error message "*" in the requiredfield validator is displaying for Textbox1 and Textbox2 and after providing values when i again click it displays error message "*" for 3 & 4. But i want
to show initially all the 4 textboxes with * when button 1 is clicked.
Go to the complete details ...