On my new site, one of the calls to action for the reader is to send an email to the Mayor. I was going to use a basic email link and populate the subject line and the first line of content, but some have suggested that users like the idea of a form they fill out versus an email link. The form would have stuff like "enter your email, add your comments" etc. I can see the value in this but are there any trends in users to suggest they like one better than the other?
That said, I have never built an email form and have no experience in php. Can anyone point me to a good tutorial? It would also be great to add an "add me to your email list" for updates.
Thoughts and help much appreciated,
Gary
Using a mailto link opens up the address to spam galore.
Take a read here
http://www.paulgdesigns.com/learncontactform.php
Gary
Using a mailto link opens up the address to spam galore.
True.
Now there are ways to obfuscate the e-mail address, but since it is the mayor himself who will be the addressee I would definitely go for a contact form.
I use "fast secure contact form" for my contact forms.
It is a PHP script that is really easy to set up even if you don't know PHP, there is no programming involved.
Just follow the instructions and don't forget to change the extension of your contact page from .html to .php
The script is highly configurable just by clicking the options you want.
Find it here: http://www.fastsecurecontactform.com/
(it is the "PHP Script version" you'll want)
Thanks - this should help a lot. Since I have not done this before, a couple of quick questions before I start.
1. You say to name the page .php - the form will be inside a spry tab. Will this be a problem? That means the page has to be .html since it houses more than just the form, I would think. Please enlighten me!
2. I would like to track how many people use the form and capture their email so I can send them updates. Is it wrong to capture the emails without asking? I know it's poor form to send them stuff if they don't ask for it (spam), but capturing emails might come in handy in the future. Is there a way to have a checkbox like YES, SEND ME UPDATES?
3. Since the email is going to the Mayor, is there a way to moderate the emails (ie: read them first before sending them on) to make sure that there is nothing inappropriate? Is this poor form? It's a controversial topic so I would imagine that the opposition could bombard the form and put in lots of misleading emails. What do you think?
Thanks so much everyone!
Gary
garynng wrote:
1. You say to name the page .php - the form will be inside a spry tab. Will this be a problem? That means the page has to be .html since it houses more than just the form, I would think. Please enlighten me!
Having an extension of .php only puts the server on notice that the page may have some php scripting to process, it does not effect the html.
2. I would like to track how many people use the form and capture their email so I can send them updates. Is it wrong to capture the emails without asking? I know it's poor form to send them stuff if they don't ask for it (spam), but capturing emails might come in handy in the future. Is there a way to have a checkbox like YES, SEND ME UPDATES?
You would need to set up a database. I am not familiar with the software EagerBob mentioned, but I would assume it would be able to configure your script to enter the data into the database...but you would still need to build a DB.
There is nothing wrong with keeping track of who tries to contact you, in fact it is very smart. As long as you follow the rules regarding spam (look up can spam act), you should be fine.
3. Since the email is going to the Mayor, is there a way to moderate the emails (ie: read them first before sending them on) to make sure that there is nothing inappropriate? Is this poor form? It's a controversial topic so I would imagine that the opposition could bombard the form and put in lots of misleading emails. What do you think?
You could have the emails sent to you then you could forward them on to the end recipient.
Gary
Is there a way to have a checkbox like YES, SEND ME UPDATES?
yes, you can add extra fields, checkboxes, radiobuttons, etc.
Just install the script and try it out, it is not that difficult.
It will just send the form though, like garywpaul says you may want to get it into a database.
Never tried that, there is some info on this on the site of the maker: http://www.fastsecurecontactform.com/send-form-data-elsewhere
If it becomes too difficult just sort the addresses in your mail client.
Since the email is going to the Mayor, is there a way to moderate the emails (ie: read them first before sending them on) to make sure that there is nothing inappropriate? Is this poor form? It's a controversial topic so I would imagine that the opposition could bombard the form and put in lots of misleading emails. What do you think?
I don't know. If you are his secretary you might stand up as his gatekeeper. If you are the designer or webdeveloper I'd say this is not your task.
Or maybe the mayor has his own people that will do that for him?
If you are afraid that people will bombard him with e-mails you might reconsider using a contactform and using an email link instead (with a special email address for this purpose)
With an e-mail link people will have to use their own e-mail program and they are less likely to bombard the man with all kind of crap.
(Although the script can check whether the e-mail address is a valid address, it cannot know if it is real address of the person sending the mail.)
[edit]
If you need a way where people can react/give their opinion on certain matters you could also considering setting up a WordPress site for this occasion.
People can leave comments and you will have a lot of control on the process.
Like that people need to subscribe before they can comment, you can hold comments for moderation etc.
Just a thought...
[edit]
I think I misunderstood what you are trying to do. It is *your* site, not a site for the mayor right?
Message was edited by: EagerBob
I wouldn't censor the users input, but there are scripts that will detect "bad words" and replace them with symbols or asterisks. You may want to include a disclaimer in each email that it's being sent from your site, but that the text is that of the user. You could also have sample content that Pre-populates the form, especially if this is a single issue campaign. Or, have different blocks of text the user can choose. They can sendnit as is, or edit it before sending. Finally, you should add CAPTCHA, so that the mayor isn't getting lots of email from the spam bots.
North America
Europe, Middle East and Africa
Asia Pacific