Pagina 1 van 1
Mailform maken
Geplaatst: 27 jan 2006, 16:50
door Twinkel
Voor de website die ik voor vrienden heb gemaakt moet ik een mailform maken. Ben me drie slagen in de rondte aan het klooien, maar kom er niet uit
Wat is de beste manier om een mailform op je site te krijgen, waar mensen info in kunnen voeren dmv vast in te vullen ruimtes én waar ze uit een aantal opties kunnen kiezen???
Geplaatst: 27 jan 2006, 17:14
door Projectsdesigner
eerst begin je met forms maken dat doe je in html ik heb even een voorbeeldje gemaakt:
http://projectsdesigner.com/helpout/PHPbbtwinkel
Hier zie je 3 van die dingen die jij denk ik bedoelde.
de scripts hiervan zijn:
Code: Selecteer alles
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body bgcolor="#000099">
<Br />
<Br />
<center>
<textarea name="naam" cols="20" rows="1" class="Name" title="Naam" dir="ltr">Uw naam hier.</textarea>
<Br />
<Br />
<textarea name="E-mail" cols="20" rows="" class="E-mail" dir="ltr">Geef uw e-mail adres op.</textarea>
<br />
<Br />
<textarea name="Commentaar" cols="" rows="" class="Comment" dir="ltr">Geef hier uw commentaar tips op.</textarea></center>
</body>
</html>
de tags
Code: Selecteer alles
<textarea name="Commentaar" cols="" rows="" class="Comment" dir="ltr">Geef hier uw commentaar tips op.</textarea>
zijn de tags die jij nodig hebt voor jou E-mail pagina.
Als je dit allemaal in je site hebt verwerkt dan moet je een knop verzenden maken dat is met deze code:
Code: Selecteer alles
<input name="Submit" type="submit" class="submit" id="submit" title="sumit" dir="ltr" lang="nl" value="post" />
Daarin moet je dan een bepaalde code van een database inmaken zoals bijv: mySQL .php .asp .cgi enz.... hier weet ik helaas niet meer van af dus verder kan ik je niet helpen
Geplaatst: 27 jan 2006, 17:19
door Paul
Dat zijn geen scripts, maar puur html

Je vergeet de form tag

En, voor naam/email is een text field beter

Geplaatst: 27 jan 2006, 17:36
door Twinkel
Thnx, ik ga hier vanavond of morgen even mee aan de slag!! Enne..... html is in dit geval prima, als het maar werkt

Krijg ze wel gemaakt, maar online doen ze niks nml

Geplaatst: 27 jan 2006, 17:37
door Twinkel
Paulus, jij noemt nog wat dingen, hoe pas ik dat aan dan??
Geplaatst: 27 jan 2006, 17:46
door Twinkel
Dit is trouwens mijn eigen mailform wat ik niet draaiend krijg
Code: Selecteer alles
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta HTTP-EQUIV="Content-Language" CONTENT="nl">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Butterflyparties, stijlvolle, classy erotische avonden en feesten voor
paren op aansprekende locaties</title>
</head>
<body background="butterflypartiesachtergrond.jpg" bgproperties="fixed" bgcolor="#000000" text="#F4F3D7" link="#F4F3D7" vlink="#F4F3D7" alink="#F4F3D7">
<h1 align="left"> </h1>
<h1 align="left"><img border="0" src="4logo.gif" align="right" width="139" height="120"></h1>
<h1 align="left"> </h1>
<h1 align="left"><font color="#F4F3D7" face="Century Gothic">Aanmeldformulier</font><font color="#F4F3D7" face="Century Gothic"> </font></h1>
<hr>
<form METHOD="POST" action="_derived/nortbots.htm" onSubmit="location.href='_derived/nortbots.htm';return false;" webbot-action="--WEBBOT-SELF--" WEBBOT-onSubmit>
<!--webbot bot="SaveResults"
U-File="C:\DOCUME~1\****\LOCALS~1\Temp\FrontPageTempDir\butterflypartiesinfo.txt"
S-Format="TEXT/TSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
S-Email-Format="TEXT/PRE" S-Email-Address="********"
B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="TRUE"
S-Email-Subject="Aanmelding Butterflyparties"
S-Builtin-Fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT"
U-Confirmation-Url="aanmeldbevestiging.htm" startspan --><strong>[FrontPage Resultaten opslaan-onderdeel]</strong><!--webbot bot="SaveResults" endspan i-checksum="46809" -->
<p><font color="#F4F3D7" face="Century Gothic">Gegevens:</font></p>
<blockquote>
<table>
<tr>
<td ALIGN="right"><em><font color="#F4F3D7" face="Century Gothic">Voornaam</font></em></td>
<td><font color="#F4F3D7" face="Century Gothic"><input TYPE="TEXT" NAME="Persoonlijk_Voornaam" SIZE="25"></font></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#F4F3D7" face="Century Gothic">Achternaam</font></em></td>
<td><font color="#F4F3D7" face="Century Gothic"><input TYPE="TEXT" NAME="Persoonlijk_Achternaam" SIZE="25"></font></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#F4F3D7" face="Century Gothic">Geboortedatum</font></em></td>
<td><font color="#F4F3D7" face="Century Gothic"><input TYPE="TEXT" NAME="Persoonlijk_Geboortedatum" SIZE="8"></font></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#F4F3D7" face="Century Gothic">Geslacht</font></em></td>
<td><font color="#F4F3D7" face="Century Gothic"><input TYPE="RADIO" NAME="Persoonlijk_Geslacht" VALUE="Mannelijk" CHECKED>
Mannelijk <input TYPE="RADIO" NAME="Persoonlijk_Geslacht" VALUE="Vrouwelijk">
Vrouwelijk</font></td>
</tr>
</table>
</blockquote>
<p><font color="#F4F3D7" face="Century Gothic">Contactgegevens:</font></p>
<blockquote>
<table>
<tr>
<td ALIGN="right"><em><font color="#F4F3D7" face="Century Gothic">Telefoon</font></em></td>
<td><font color="#F4F3D7" face="Century Gothic"><input TYPE="TEXT" NAME="Contactpersoon_TelefoonThuis" SIZE="25" MAXLENGTH="25"></font></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#F4F3D7" face="Century Gothic">E-mail</font></em></td>
<td><font color="#F4F3D7" face="Century Gothic"><input TYPE="TEXT" NAME="Contactpersoon_E-mail" SIZE="25"></font></td>
</tr>
</table>
</blockquote>
<p><font color="#F4F3D7" face="Century Gothic">Selecteer alle opties die van
toepassing zijn:</font></p>
<blockquote>
<p><font color="#F4F3D7" face="Century Gothic"><input TYPE="CHECKBOX" NAME="Optie_Aanmelden-partie-18-februari-2006" value="ON">
Aanmelden party 18 februari 2006<br>
<input TYPE="CHECKBOX" NAME="Optie_Aanvragen-informartie-toekomstige-parties" value="ON">
Aanvragen informatie toekomstige parties<br>
</font></p>
</blockquote>
<font color="#F4F3D7" face="Century Gothic"><input TYPE="SUBMIT" VALUE="Formulier verzenden">
<input TYPE="RESET" VALUE="Formulierinvoer wissen"></font>
</form>
<hr>
<h5><font color="#F4F3D7" face="Century Gothic">Copyright © 2006<br>
Herzien: <!--webbot bot="TimeStamp" S-Type="EDITED"
S-Format="%d %B %Y" startspan -->27 januari 2006<!--webbot bot="TimeStamp" endspan i-checksum="32724" -->
</font></h5>
</body>
</html>
Geplaatst: 27 jan 2006, 17:48
door Bas
Heeft je host de FrontPage-serverextensies geinstalleerd? Zo nee, zal dat niet werken, aangezien het "server-side webonderdelen" gebruikt.
Geplaatst: 27 jan 2006, 17:54
door Twinkel
Ja, dat is het rare, die zijn gewoon geinstalleerd

Geplaatst: 27 jan 2006, 17:55
door Twinkel
FrontPage Extensions
Warning: It is recommended that you DO NOT install FrontPage Extensions on your account unless you intend to publish your site directly from the FrontPage application.
Uninstalling the extensions from the main domain will uninstall the extensions from all subdomains and addon domains. Uninstalling will also remove all .htaccess files in your web root (public_html). You must have the extensions installed on the main domain before they can be installed on any subdomains or addon domains.
Installing or uninstalling FrontPage Extensions will result in the loss of all .htaccess files in your web area. Any directories you have protected with WebProtect will become unprotected until you reprotect them.
Domain Status
butterflyparties.nl installed