Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Want to create web form letter that so that users can choose a certain


  • Please log in to reply

#1
misfire897

misfire897

    New Member

  • Member
  • Pip
  • 2 posts
Hi,


I am trying to create a web based from letter that users can use to email their senators and representatives about mental health care issues. Here is exactly what I want to do. I will have around 2 paragraphs explaining what the constituents concerns are about this subjects and then a blank section for up to a certain amount of additional characters that the users can fill in themselves to expressly contain their own thoughts about the issues (if they choose to this can be an optional box).

Then I would like them to be about to pull their state down from the menu with either the choice of region(best if possible) so they can pick their representative and also their senators. Then when they hit send, the letter will be directly mailed to their congress people.

I also need a box for them to put their name and address into. I have a website already that I'm using for some other issue, but I want to use it for this. Anyone who knows who to do this please contact me.

Thanks so much for your help.

Misfire
  • 0

Advertisements


#2
JPCompHelp

JPCompHelp

    Member

  • Member
  • PipPip
  • 16 posts
Hi, here's what I managed to create:
<form name="emailForm" enctype="text/plain" >
<select name="stateSelect">
<option value="type in email address here">Name of the state here</option>
</select>
<br>
Subject:
<br>
Insert website HTML here

Inform them about writing their address in the text area:
<textarea name="address" rows=4></textarea>

<input name="subject" type="hidden" value="Your subject here">
<textarea name="message" type="hidden">Your message here</textarea>
<button type="button" onclick="window.open('mailto:' + document.emailForm.stateSelect.value + '?subject=' + document.emailForm.subject.value + '&body=' + document.emailForm.message.value + document.emailForm.address.value);">Send e-mail</button>
</form>
Remember to fill everything out.


PS Yes, I know it's a clumsy solution, but it's the best you can get without server-side scripting.
  • 0

#3
misfire897

misfire897

    New Member

  • Topic Starter
  • Member
  • Pip
  • 2 posts
Thanks! Much better than I would have done. I don't know the first thing about code. In fact, can I have an off line conversation with you about what I am using to write this and how I post it up to the website. I am totally clueless. Thanks again
  • 0

#4
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
These are really good online form makers. Just follow the instructions for making it and uploading file(s).

http://www.phpform.org/ (Best-est)
http://www.tele-pro....s/contact_form/
http://jotform.com/ (WYSIWYG Form Maker)
http://www.thesitewizard.com/
http://www.thepcmanw...form_mail.shtml
http://emailmeform.com/
http://www.freecontactform.com/
http://www.reconn.us...ent/view/12/34/ (Download - Contact Us Script)
http://formsmarts.com/

Your current hosting package must allow SMTP ( http://en.wikipedia....ansfer_Protocol ) to work. Otherwise, no email can be sent.

Just some additional info. Butting out. :)
  • 0

#5
stoyv

stoyv

    New Member

  • Member
  • Pip
  • 1 posts
Maybe you'll find the answer here php tutorials

Edited by stoyv, 11 January 2010 - 10:51 AM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP