SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Forms

  1. #1
    SitePoint Enthusiast
    Join Date
    May 2001
    Location
    London
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Forms

    Can anyone tell me if it's possible to do a form without going through javascript/cgi? I've put the form together using:
    <FORM method="post" action="mailto:joanne.canning@nof.org.uk?subject=Intranet Survey">

    But when you click on the submit button you get the email with the address and subject entered but not the answers from the form.

    Help please!

    Jo

  2. #2
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just use the code like below:

    Code:
    <FORM METHOD="POST" ACTION="mailto:blah@blah.com,blah@blah.com"> 
    <TABLE WIDTH="600" CELLPADDING="0" CELLSPACING="0"> 
    <TR> 
    <TD VALIGN="TOP"> 
    <P ALIGN="JUSTIFY">Please send me information on:</P></TD> 
    <TD> </TD> 
    </TR> 
    </TABLE> 
    <TABLE CELLPADDING="0" CELLSPACING="3" width="763"><TR> 
    <TD><INPUT TYPE="CHECKBOX" NAME="info on" VALUE="global"></TD> 
    <TD>GLOBAL</TD> 
    <TD><INPUT TYPE="CHECKBOX" NAME="info_on"
    VALUE="private_banking"></TD> 
    <TD>Private Banking </TD> 
    <TD><INPUT TYPE="CHECKBOX" NAME="info_on"
    VALUE="commercial"></TD> 
    <TD>Corporate/ Commercial</TD> 
    <TD><INPUT TYPE="CHECKBOX" NAME="info_on"
    VALUE="GIBS"></TD>

    etc, etc, etc,

    Hope this helps

  3. #3
    SitePoint Addict
    Join Date
    Jul 2001
    Posts
    284
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For some visitors, that's all you will get with the "mailto" for your ACTION. It's a browser thing. It is much better to use a CGI service as it gives you a lot more abilities.

    If your host does not have CGI available to you, perhaps sign onto Bravenet and use their free service. They give you a starter form code, just take the starting tags (form, hidden, so forth) and put them into your own created form.

    http://www.bravenet.com

  4. #4
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well you dun need to know javascript or cgi to make a form mailer on your site... u can just take those free scripts available at places like www.hotscripts.com

  5. #5
    SitePoint Enthusiast
    Join Date
    May 2001
    Location
    London
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks very much for your help - I've got my form now!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •