• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Readonly Checkbox

 
Sangita Mishra
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way do disable switching te checkbox on/of and making it grey.

I want to create a grey checked checkbox.

When I use "disabled" in the input tag it doesn't submit the value of the checkbox.
 
Paul Lester
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any html field that is disabled will not be submitted. If you want to display a disabled checkbox _and_ have the value submitted, you'll have use a hidden variable to carry the value.

Regards,

Paul
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic