File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes HTML Text Filed values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "HTML Text Filed values" Watch "HTML Text Filed values" New topic
Author

HTML Text Filed values

Prerna
Greenhorn

Joined: Jun 27, 2001
Posts: 1
how do i pass html text field values from a form without letting the values of the text field changed also .. show it as disabled text field... but access its value for some validation checks
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4339
    
    2

Prerna,
I dont know the answer sorry.
I hate to say this but, your name does not comply with the Javaranch naming guidelines which can be found at http://www.javaranch.com/name.jsp
please register again with a valid name.

SCJP
Visit my download page
Mohamed Yousuff
Ranch Hand

Joined: Jun 23, 2001
Posts: 73

use the readonly property to the html tag like this <input type=text value='javaranch' readonly style='background:gray'>
If you want to show it as disabled, use stylesheet as shown above.
Hope you understand the solution

Originally posted by Prerna:
how do i pass html text field values from a form without letting the values of the text field changed also .. show it as disabled text field... but access its value for some validation checks


------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML Text Filed values
 
Similar Threads
how to upload using html or javascript?
How to copy HTML page content to clipborad
hidden variable?
difference between html textbox and struts-html textbox?
Subscripts / Superscripts