I have a dojo modal Dialog Box which pops up a subform from a main page when i checked a checkbox. The sub form has validations for some fields. When I open the sub form and closed it without filling the required fields and submit the main page, the vailidations are showing properly. My problem is when i unchecked the check box, I am able to removed the sub form as well as the error messages but when I submit the main form I am still getting the error from the already removed sub form.
Is anybody face this problem, Please help me.