- Posts: 76
- Thank you received: 2
Checkbox default to checked?
- Kathy
- Topic Author
- Offline
- Senior Member
-
Less
More
9 years 6 months ago #71421
by Kathy
Checkbox default to checked? was created by Kathy
Hello,
I feel sure this is a silly question, but is there a way to have a checkbox on my form appear checked by default? I've tried adding checked to the default values, but I'm not sure default values are used for checkboxes. Anywhere I can add checked to the input tag?
Most of the results I've found by searching the forum are of people who found the form acting this way when they didn't want it to.
I feel sure this is a silly question, but is there a way to have a checkbox on my form appear checked by default? I've tried adding checked to the default values, but I'm not sure default values are used for checkboxes. Anywhere I can add checked to the input tag?
Most of the results I've found by searching the forum are of people who found the form acting this way when they didn't want it to.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 6 months ago #71459
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Checkbox default to checked?
Hi Kathy
Could you please make the screenshot of the custom field edit screen for that custom field ? I will look at it and guide you with the correct setup
Regards,
Tuan
Could you please make the screenshot of the custom field edit screen for that custom field ? I will look at it and guide you with the correct setup
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 6 months ago #71480
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Checkbox default to checked?
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Attachments:
The following user(s) said Thank You: Tuan Pham Ngoc, Kathy
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 6 months ago #71508
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Checkbox default to checked?
I am thinking that the setup only have one checkbox option with no actual value and that's the reason I can think of
Kathy could not setup checked status
We will wait for the screenshot before making decision
Tuan
Kathy could not setup checked status
We will wait for the screenshot before making decision
Tuan
Please Log in or Create an account to join the conversation.
- Kathy
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 76
- Thank you received: 2
9 years 6 months ago #71527
by Kathy
Replied by Kathy on topic Checkbox default to checked?
Tuan, yes it is a single checkbox. However, I do have text in the values fields. I tried James's suggestion, and it worked like a charm. Thanks!
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 6 months ago - 9 years 6 months ago #71536
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Checkbox default to checked?
Glad you were able to get it working 
Copy and paste has been what I found works 100% of the time (retyping can sometimes create a slight difference in spacing/characters/etc. that will then cause the values to not match-up). Just remember to update the [default values] box again if you change your corresponding value in the [value] box (that's obvious, but I've forgotten way too many times).

Copy and paste has been what I found works 100% of the time (retyping can sometimes create a slight difference in spacing/characters/etc. that will then cause the values to not match-up). Just remember to update the [default values] box again if you change your corresponding value in the [value] box (that's obvious, but I've forgotten way too many times).
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 9 years 6 months ago by James Riley.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
9 years 6 months ago #71556
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Checkbox default to checked?
Great. Thanks for confirming Kathy. And Thanks James for your help !
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.