ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

contact form checkbox?

August 24, 2011 8:02am

Subscribe [2]
  • #1 / Aug 24, 2011 8:02am

    stevo_s

    176 posts

    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

    stevo_s

    176 posts

    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

    Sue Crocker

    26054 posts

    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

    stevo_s

    176 posts

    Is it right that EE contact form can’t handle checkbox’s ?
    Seems really odd it doesn’t.

  • #5 / Aug 26, 2011 1:04pm

    Lisa Wess

    20502 posts

    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?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases