Title: Disabled checkbox
Last modified: March 24, 2018

---

# Disabled checkbox

 *  Resolved [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/)
 * Once I put the checkbox code inside the [expand} it’s no longer working. ??
 * Appreciate your help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdisabled-checkbox%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10111892)
 * more details please.
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10111933)
 * I can give you my credentials if I can private message you.
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10112181)
 * just post an example of how you are using the shortcode…
    and explain what you
   mean by ‘the checkbox code’. What are you trying to accomplish?
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10112787)
 * Sorry. My fault. I had moved the icons and forgot to update the CSS. Working 
   great now. Thanks.
 * [http://ajijictoday.com/test-collapse-o-matic/](http://ajijictoday.com/test-collapse-o-matic/)
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10113479)
 * glad you hear you got it working.
    thank you for marking the issue as resolved.
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10113505)
 * I spoke too soon. Although it looks and works great I can’t get the ones I’ve
   checked to stick. They show as checked in the visual text box; but don’t save.
   I also can’t find any way to stop visitors changing the boxes I’ve set for the
   listing.
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10113522)
 * It sounds like you need to research a bit more in to how [html checkboxes work](https://www.w3schools.com/tags/att_input_checked.asp).
 * Since you have not shared the code you are using try something like the following:
 *     ```
       <input type="checkbox" readonly checked> Monkey<br>
       <input type="checkbox" readonly checked> Donkey
       ```
   
 * Keep in mind, this has nothing to do with our plugin.
    -  This reply was modified 8 years, 1 month ago by [twinpictures](https://wordpress.org/support/users/twinpictures/).
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10113557)
 * This is the page – [http://ajijictoday.com/test-collapse-o-matic/](http://ajijictoday.com/test-collapse-o-matic/)
 * This is the code, although there are far more lines:
 * **AMENITIES –**
    <table> <tbody> <tr> <td><input id=”air_conditioning” class=”
   css-checkbox” name=”air_conditioning” type=”checkbox” /><label class=”css-label”
   for=”air_conditioning”>Air Conditioning</label></td> <td><input id=”bathtub” 
   class=”css-checkbox” name=”bathtub” type=”checkbox” /><label class=”css-label”
   for=”bathtub”>Bathtub</label></td> </tr>
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10113564)
 * Right. So after: `type=”checkbox”` you need to add `checked` if you want the 
   item to be… checked… and `readonly` if you do not want the users to change the
   checked/unchecked status.
 *  Thread Starter [checmark](https://wordpress.org/support/users/checmark/)
 * (@checmark)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10113598)
 * The “readonly checked” didn’t stop a user from changing it; however, disabled
   =”disabled” did. I still don’t see any way to check the boxes when I’m creating
   the listing though. As you suggest using checked=”checked” in the code is the
   only way I can find. That makes the task very laborious.
 * Thanks for your help though.
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10113603)
 * sorry, but ‘checkboxes’ are not part of this plugin. As long as the expand elements
   are working we can not help you further.
    Please contact your theme developer
   for further assistance.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Disabled checkbox’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/disabled-checkbox/#post-10113603)
 * Status: resolved