Click to See Complete Forum and Search --> : I have created this contact form in DW CS4, but how do I get it to start working?
ruester
05-17-2009, 01:51 PM
http://www.charlespatrickjewelers.com/contact.html
I've got this form created with Spry in DW CS4, but what do I need to do next to get it to start working? I can't find a tutorial on that anywhere.
Please help....
Thanks all,
Aza
infinityspiral
05-17-2009, 08:08 PM
Well 'working' could mean a few things when you're dealing with forms. :) What do you wish it would do? It could either send an email to and address or push the data to a database... Either way you'll need to have the action link to a server side script that handles either the mail or db function. For example you could use php and the mail() function to send it to your email or php and mysql to send it to a database.
Check this sample out:
http://www.w3schools.com/PHP/php_mail.asp
ruester
05-18-2009, 12:54 PM
Well, the link you sent me for the email seems simple enough, so let's say I wanted to use that form to collect emails (and the other info on that page) in a database... Do you know of a good tutorial for that? would I use AJAX since I built it with SPRY? Or what do you (and anyone else reading) suggest?
Thanks all!
stewart3000
06-17-2009, 06:28 AM
Hi Aza the jewelers site looks great,
For all my form processing I use a dreaweaver extension called form to mail its so easy to use, have a look at this link http://www.dwbooster.com/form-procesing also there are tons of other great extensions too
...I have pretty much got them all..you can buy tool bars which work out cheaper and have all the extensions in one place :D
Can I ask did you do the CHARLES PATRICK JEWELERS title using flash text gradients?
also how did you make the logo??
infinityspiral
06-17-2009, 07:37 AM
You could use Ajax if you have a dynamic form that shows and hides itself through a script or you didn't want people to leave the current page. An example might be- user is on the homepage, clicks contact button and contact form window appears over the homepage content, user fills out form and contact us window goes away after submitting allowing the user to keep on reading the homepage content. This doesn't look like how your form is being used though so I don't think you need it.
For inserting into a database instead of taking your variables and passing them to the mail() function you'd pass them through an INSERT function. Here's a tut:
http://www.createafreewebsite.net/phpmysql/insert.html