wood burning stoves 2.0*
The moose likes Servlets and the fly likes Non-Editable Region Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Non-Editable Region" Watch "Non-Editable Region" New topic

Non-Editable Region

Sanjay pts
Ranch Hand

Joined: Nov 07, 2000
Posts: 357
I am want to write a servlet/jsp which on selecting the view option shows a non-editable (view only) html form. is there anything in javascript, html or java through which i can make all the fields on the form non-editable.
Sanjay pts

Eat JAVA, Drink JAVA, Sleep Java
Ramneek Handa
Ranch Hand

Joined: Nov 10, 2000
Posts: 44
You can use readonly=true for making form uneditable.
<input type='text' maxlength='30' name='name' size='20' value='Adam' readonly=true >"
It is sorta covered in the JavaRanch Style Guide.
subject: Non-Editable Region
Similar Threads
JTextField and Focus
Update row while changing noneditable textfield to editable field.
Make Checkbox group Non-Editable
how to skip tab order from non-editable column
how to avoid tab order into noneditable column?(urgent)