Is it possible to use a basic checkbox with the EE contact form?
I don’t want to use Freeform as I don’t need to fill the DB.
cgi or php script the only option?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 24, 2011 8:02am
Subscribe [2]#1 / Aug 24, 2011 8:02am
Is it possible to use a basic checkbox with the EE contact form?
I don’t want to use Freeform as I don’t need to fill the DB.
cgi or php script the only option?
#2 / Aug 24, 2011 12:06pm
If I put the whole form in a conditional that might work? or is that a bad idea?
{if segment_3 == "join"}
{exp:email:contact_form etc.,#3 / Aug 24, 2011 4:22pm
Hi, stevo_s.
I’d still use Freeform, even though you don’t need to the DB record. It’s so much easier to build out. You can always delete the database records.
#4 / Aug 24, 2011 4:33pm
Is it right that EE contact form can’t handle checkbox’s ?
Seems really odd it doesn’t.
#5 / Aug 26, 2011 1:04pm
Hi, stevo,
Yes, the native contact form doesn’t support checkboxes. You might still be able to record that info as a hidden field of some sort, but I haven’t tried to accomplish that myself.
Freeform, or even potentially SafeCracker, may be a good option if you need checkboxes. Or perhaps using something like Wufoo?