wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes Displaying the form values. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Displaying the form values." Watch "Displaying the form values." New topic
Author

Displaying the form values.

siva sankar
Ranch Hand

Joined: Jul 13, 2006
Posts: 68
Hi,

i have two fields username and password in a html form.I have done the following validations.

1)if username is null,then display alert message for username.

2)if password is null,then display alert message for password.

The both validations are working fine.When the username is not null and password is null and when i submit the form,the alert message is displaying for password,but the value entered for username is getting clear off.what i have to do to get the value of username i have entered while submitting the form.

Thanks in Advance,

regards,

Siva.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
We do not read minds here. What is your code since it can be don 1000's of ways?

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying the form values.
 
Similar Threads
doubt in update
JavaScript
Invalid user error message
Struts and javascript problem
Pop up the error message (Bit interesting Q ?)