Hi sai sagar,
I would suggest an idea to implement your idea,
Declare
isError = false variable.
Whenever you validate the control, at that time set
isError = true even if a single validation is failed.
While clicking save button check whether
isError , if it is true then it should throw "
Please check Validations" alert box otherwise it should save the data.
statements for step to step implementation
set isError = false initially<br />
if textbox1 validation is failed <br />
set isError = true<br />
if textbox2 validation is failed <br />
set isError = true<br />
if checkbox is missed to check<br />
set isError = true
In save button click, check the below condition first
if isError = true<br />
throw alert "Please check validations".<br />
else if isError = false<br />
perform save button action.
This would help you a bit.
Regards,
Rk