PDA

View Full Version : Creating Forms with Dreamweaver MX




besler3035
Jan 17, 2006, 10:46 PM
I cannot figure out for the life of me how to finish a form in Dreamweaver MX. I know how to send the results to an e-mail address, but I can't get it to do this without opening up the user's default e-mail client and have the user send it. I'd like to do it all automatically in the background.

Can someone please help, maybe by posting the code or giving me a link to a source who has this type of info? It seems that the newer Dreamweaver has another option on how to send it, so keep in mind that that's not going to help me at all. Remember - DREAMWEAVER MX.

Thanks!



Thom_Edwards
Jan 17, 2006, 11:13 PM
it depends on what language you're using and if the web server supports it. that being said, there are *thousands* of examples on the web that should show you how.
this google is for php and asp
http://www.google.com/search?client=safari&rls=en&q=php+asp+send+mail&ie=UTF-8&oe=UTF-8

edit: dreamweaver shouldn't have anything to do with this process since you want it all to be sent from just clicking a submit button. the form's action should send you to the page that processes the form variables, builds the email and sends it. i wouldn't recommend using dreamweaver's (or any wysiwyg) built-in stuff. trying to modify the automatically generated code can be near impossible if you need to go in and tweak some stuff

superbovine
Jan 18, 2006, 01:33 AM
part of being a programmer is being able to find solution for yourself. it shouldn't be that hard to realize, just MAYBE someone might have wrote the same code before.

CanadaRAM
Jan 18, 2006, 01:36 AM
I cannot figure out for the life of me how to finish a form in Dreamweaver MX. I know how to send the results to an e-mail address, but I can't get it to do this without opening up the user's default e-mail client and have the user send it. I'd like to do it all automatically in the background.

Sending a web form is reliant on the form-sending software on your Web host's server. Contact your web host for the syntax they use.

revisionA
Jan 18, 2006, 08:55 AM
i recommend vtc.com for studying. 30/mo for a lot of video tutorials on web programming, graphics, 3d and much more.

anyways
you can use cgi/perl, asp or php to do this. the form information is passed to another page with code that the server interprets to do this task. So it is dependent on your hosting server and what installed interpreters it has.

But you will not find a one sentence answer. Its a programming task and you will need to understand the code you are using. Google, rinse and repeat. You can find all kinds of coding sites, like boxesandarrows.com (url? but thats the name), if you just look.

$

besler3035
Jan 18, 2006, 09:52 AM
part of being a programmer is being able to find solution for yourself. it shouldn't be that hard to realize, just MAYBE someone might have wrote the same code before.

And part of being a student is asking these types of questions.

besler3035
Jan 18, 2006, 09:53 AM
Thanks for the responses. Right now I'm not sure which server the site will end up going on; right now I'm uploading it to my .Mac account until the site is finished, which will then be transferred to the client's server.

I guess it was just easier than this, and thought there was some code to just automatically send an e-mail when hitting that Submit button.

superbovine
Jan 18, 2006, 02:43 PM
And part of being a student is asking these types of questions.


heh... i assumed you knew the concept of web search engines...

besler3035
Jan 18, 2006, 03:38 PM
heh... i assumed you knew the concept of web search engines...

It's called I did search, just didn't find what I was looking for. I just found things specific to a certain server, which isn't what I want.

decksnap
Jan 18, 2006, 05:31 PM
heh... i assumed you knew the concept of web search engines...

Wee bit of 'tude for a guy looking for help eh? Why ask anybody a question, ever, since there's google, right?
:rolleyes:

The methods I've seen that don't use a server script do seem to launch the mail app before sending. I would search around for free scripts that can process your form info on the server end and send out an email from the server. Knowing who your hosting is and what they run helps.

besler3035
Jan 18, 2006, 06:03 PM
Wee bit of 'tude for a guy looking for help eh? Why ask anybody a question, ever, since there's google, right?
:rolleyes:

The methods I've seen that don't use a server script do seem to launch the mail app before sending. I would search around for free scripts that can process your form info on the server end and send out an email from the server. Knowing who your hosting is and what they run helps.

Thank you for your help.