Form Submission Sent to Email Address

Permalink
As a coding novice, I have -no- idea how to make custom php forms. No clue how to make external forms work...and I wonder if that's even necessary.

I have a question/comment contact form set up with the provided c5 forms [not an external form]. All I need is this:

When the 'submit' button is clicked, the information is emailed directly to my client's inbox. Not just sent to the dashboard area.

Is there a way to tinker with the existing code to do this? I haven't found a very accessible answer on the forums or docs thus far. If there is already an answer, maybe I haven't been looking in the right place?

Any help would be greatly appreciated.

viriesque
 
beebs93 replied on at Permalink Reply
beebs93
When you edit the Form block, click on the "Options" tab then check "Notify me by e-mail when people submit this form" where you can enter multiple comma-separated e-mail addresses.
cursal replied on at Permalink Reply
cursal
I use this all the time, although now I need to add like 10 email address to the form. It stops after xx amount of characters..any way to expand that?
beebs93 replied on at Permalink Reply
beebs93
The character limit is being set by the input element's "maxlength" attribute. If you wanted to change that, you'd have to make your own copy of the block's form_setup_html.php file and change said attribute to a higher value.

I've never needed to do this so I'm not sure of the ramifications down the line of allowing more than 128 characters. The column in the btForm has a character limit of 255, but that original 128 char limit could be coming into play elsewhere.

You'd have to do some basic testing to ensure the longer list of e-mail addresses you'd enter would be properly processed and stored.
cursal replied on at Permalink Reply
cursal
Thanks for the reply.
I will give that a try sometime.