I am having problem with validation .
my problem is like
i am having two buttons in my webform and on one button i had putted the validation for the fields and the first button name is "ADD" on which validation is there.
and on second button "CLOSE" is used to close the webform.
but the problem is that whenever i am pressing the close button it will also checks for the validation..
so is there any option like CAUSEVALIDATION = false in java..
please help me..
thanks
my problem is like
i am having two buttons in my webform and on one button i had putted the validation for the fields and the first button name is "ADD" on which validation is there.
and on second button "CLOSE" is used to close the webform.
but the problem is that whenever i am pressing the close button it will also checks for the validation..
so is there any option like CAUSEVALIDATION = false in java..
please help me..
thanks