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.
Joined: May 25, 2005
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?