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
------------------