Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Non-Editable Region

 
Sanjay pts
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
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.
bye,
Thanx
Sanjay pts
 
Ramneek Handa
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use readonly=true for making form uneditable.
<input type='text' maxlength='30' name='name' size='20' value='Adam' readonly=true >"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic