We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

checkboxes fieldtype: how to add a default selected option?

Development and Programming

David Hyland's avatar
David Hyland
210 posts
15 years ago
David Hyland's avatar David Hyland

using checkboxes as a custom field is it possible to add a default selected option to a series of checkboxes?

       
Joff's avatar
Joff
28 posts
15 years ago
Joff's avatar Joff

bump

I’d like to know if this is possible too

       
struiling's avatar
struiling
10 posts
14 years ago
struiling's avatar struiling

Me three. Or in my case, i’d like to have them all selected, or a “select all” mechanism.

       
Roger Glenn's avatar
Roger Glenn
54 posts
14 years ago
Roger Glenn's avatar Roger Glenn

I had to write a custom extension do to something similar in the control panel. I needed to pre-populate a date field and pre-select a relationship dropdown based on the logged-in user’s Member Group. My solution was to replicate the “jQuery for Control Panel” extension and modify it to include a javascript file with some jQuery that did these things. It felt kind of hack-ish, but it works!

       
Kernon's avatar
Kernon
173 posts
14 years ago
Kernon's avatar Kernon

Are these requests regarding the back-end control panel, or for a SAEF?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.