PDA

View Full Version : Create a form


Jim_Shady
08-30-2005, 03:21 PM
Hi all,

Not really got into forms in a big way - but want to now do what I hope will be quite a simple one?

I'd like to make an enquiries form for my site. Someone will enter their e-mail address, their name, their phone number, and then write their request. Once submitted the form will hopefully stick the info into an e-mail and send it to an address of my choosing.

Is this pretty simple? I don't want to go down the ASP/PHP/Dbase route unless I have to. Good tutorial on it somewhere?

Cheers - Shady.

kate
08-30-2005, 03:58 PM
Hya Jim,

try this link. its working within your Dreamweaver:

http://webdesign.about.com/cs/dreamweaver/...wmailtoform.htm ('http://webdesign.about.com/cs/dreamweaver/ht/htdwmailtoform.htm')

Also Webthang is brilliant but its ASP, but the tutorial is pretty good:

http://www.webthang.co.uk/tuts/tuts_dmx/dan3/dan3_1.asp ('http://www.webthang.co.uk/tuts/tuts_dmx/dan3/dan3_1.asp')

You could also use javascript.

Good luck Jim!

:)

Jim_Shady
08-31-2005, 08:50 AM
Hi Kate,

Thanks for the reply.

I've tried that first one, but all that happens but I push submit is an e-mail opens with my name already in the 'To:' section? Like it was a normal MAILTO: hyperlink.

Code below...form action="mailto:myemail@somewhere.com" method="get" enctype="text/plain" name="Enquiry Form">
<table width="84%" border="0" cellspacing="0" cellpadding="0">
<tr>

<td width="51%">Name</td>
<td width="49%"><input name="Name" type="text" id="Name" size="50" maxlength="25"></td>
</tr>
<tr>
<td>E-mail</td>
<td><input name="E-mail" type="text" id="E-mail2" size="50" maxlength="25"></td>
</tr>
<tr>

<td>Phone Number</td>
<td><input name="Phone Number" type="text" id="Phone Number2" size="50" maxlength="20"></td>
</tr>
<tr>
<td>Details / Request</td>
<td><textarea name="Request" cols="100" id="Request2"></textarea></td>
</tr>
<tr>

<td></td>
<td></td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Submit"></td>
<td></td>
</tr>
</table>
</form>


ANy guesses?

Cheers - James

kate
08-31-2005, 09:13 AM
Hya Jim,

I hav'nt touched on 'mailforms' just yet apart from a tut.but this link is from Macromedia and has worked great for a member there. my moderator also did a mailform on his own site which i'll try to track down for you.

http://www.response-o-matic.com/ ('http://www.response-o-matic.com/')

Here isanother link Jim. you know using PHP is really the way to go with the forms, but it will also take you through lessons on howto. and there is a link to 'hotscripts' if you need it.

http://www.apptools.com/phptools/forms/ ('http://www.apptools.com/phptools/forms/')

:)