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.

What is the best way to do email forms in EE?

November 17, 2010 12:36am

Subscribe [2]
  • #1 / Nov 17, 2010 12:36am

    fensterbaby

    289 posts

    I want to have a form that someone can fill in with a range of fields, then send by email as well as store in the DB.

    I was looking at the email_from_template plugin but that has only limited fields.

    What is the best way to approach this?

    I’m sure this is basic stuff but still a noob here 😊

    Thanks

    greg

  • #2 / Nov 17, 2010 5:46am

    Benjamin

    116 posts

    Check out Freeform from Solspace: http://www.solspace.com/software/detail/freeform/

    Does everything you mention.

  • #3 / Nov 17, 2010 3:29pm

    fensterbaby

    289 posts

    I was looking at Freeform and at first it looked like it was ideal. But it seems only to support text and text area field types. Pretty limiting.

    I need to have checkboxes, radio buttons, etc.

    Any way to do that?

    Thanks

  • #4 / Nov 17, 2010 3:39pm

    Benjamin

    116 posts

    With both Freeform and EE’s Email Module you can build advanced forms, you can even automate form population by channel information if you want with FreeForm.

    Again, just look at the freeform docs, there are even examples which use checkboxes, radio buttons etc etc; http://www.solspace.com/software/detail/freeform/#examples

    Even with the EE’s own Email Module you can also create a form with checkboxes and radio buttons etc, but Freeform is more way more advanced.
    http://ellislab.com/expressionengine/user-guide/modules/email/contact_form.html

  • #5 / Nov 17, 2010 3:59pm

    fensterbaby

    289 posts

    Thanks

    I see the example but am missing something.

    How do you create those fields in FF? When I go into the FF CP to create a field the only options are text input and area.

    Greg

  • #6 / Nov 17, 2010 4:10pm

    Benjamin

    116 posts

    Except for a textarea, you can just create a text input field in the Freeform Field CP, this goes for text inputs, checkboxes, select option dropdowns, radio buttons, etc.

    So for example, if you have this radio button field question:

    Please choose your gender<br>
    <input type="radio" name="gender" id="boy" value="boy" /> <label for="boy">Boy</label>
    <input type="radio" name="gender" id="girl" value="girl" /> <label for="girl">Girl</label>

    In the Freeform Field Control Panel you would create a text input field named “gender” to collect the data.

    Hope that clears things up for you!

  • #7 / Nov 17, 2010 4:16pm

    fensterbaby

    289 posts

    Ah yes, of course. The field type in this case is just a UI element and no matter what the output is all just text.

    Duh.

    Thanks for helping out

    greg

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

ExpressionEngine News!

#eecms, #events, #releases