DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12470>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12470

Cancel does not work correctly when using dynamic validation





------- Additional Comments From [EMAIL PROTECTED]  2002-10-18 17:57 -------
There might be something that is unique about my environment that is creating 
this problem. The problem is that even though I am selecting cancel, the 
javascript is trying to validate the fields. 

Looking at the javascript, the problem in my case is bCancel is not getting set 
to true. I don't see how that is supposed to occur in the javascript when I 
view source.
 
     var bCancel = false; 

    function validateRegistrationForm(form) 
{                                                                   
        if (bCancel) 
      return true; 
        else 
       return validateRequired(form) && validateEmail(form); 
   } 

Note: This problem only occurs when using dynamic validation. I see this 
problem in the "Register for Mailreader Demonstration Application" and click 
cancel without entering any data.

Test environment
WebSphere Application Server 4.0.4
IE 6.0
Struts ( 20021016 nightly build )

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to