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 to see the link]
-
more details please.
I can give you my credentials if I can private message you.
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?Sorry. My fault. I had moved the icons and forgot to update the CSS. Working great now. Thanks.
glad you hear you got it working.
thank you for marking the issue as resolved.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.
It sounds like you need to research a bit more in to how html checkboxes work.
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> DonkeyKeep in mind, this has nothing to do with our plugin.
-
This reply was modified 8 years, 1 month ago by
twinpictures.
This is the page – 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>Right. So after:
type=”checkbox”you need to addcheckedif you want the item to be… checked… andreadonlyif you do not want the users to change the checked/unchecked status.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.
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. -
This reply was modified 8 years, 1 month ago by
The topic ‘Disabled checkbox’ is closed to new replies.