• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html-el:checkbox readonly?

 
Alex Pol
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How can i make a html-el:checkbox readonly? I cannot make it "disabled" because like this it's not read from the form.

Thanks.
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is this html-el:checkbox tag?? Are you using any special tag library?? Anyways, there are a lot of ways of doing this. You can actually disable the checkbox and just before the form is submitted, you can enable it again. Something like this
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic