You use return so that if the form is not valid, the form does not submit (returns false). You use this as an argument to the validateLoginForm function because it takes the form itself as a parameter. [ May 18, 2006: Message edited by: Gregg Bolinger ]
i got it by assigning a string to the key in AR.properties.
like : userName=UserName
Is this approach good or any other way.
posted 14 years ago
i am getting alert msg for 'password is required'. But i am not getting alert msg for 'password minlength'. But if i have specified <html:errors/> in the jsp page, i am getting proper error message in the form of text. Why this problem occurs?
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!