HighDots Forums  

Using Forms Created in DWMX2004

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Using Forms Created in DWMX2004 in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Netscape Man
 
Posts: n/a

Default Using Forms Created in DWMX2004 - 07-19-2004 , 02:50 PM






(Okay - I posted this in the Macromedia Forums, and for the life of me
can't understand why some postings get duplicated here, in Google
Groups. However, just in case it hasn't....here it is....)

Having been able to produce all kinds of forms in DWMX2004 what do I
do with them now? How do I 'use' with within a website? What
additional code do I need? How do I use this code in respect of the
forms I 've created? In what folders do I place the code so that I can
FTP it all up when I FTP the site from withinn DWMX2004?"

I'm being told about Form CGI code. What I do with the Form.CGI code
once I've got it? Do I insert it into the HTML file with the form? Is
it an "attachment", like a CSS style sheet? Which folder does it go
into, (if it is a separate file), with respect to the DWMX2004 root
folders, for FTPing up to the host server?

Any help would be gratefully appreciated. Thank you.

(Apologies if this gets duplicated in the Macromedia Forums - I don't
know why this happens )

Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Using Forms Created in DWMX2004 - 07-19-2004 , 03:18 PM






This *IS* the Macromedia forum.

There is only one. It is mirrored *BY MACROMEDIA* between the nntp forum
(this one) and the webforum (the other one, probably). It is also mirrored
with varying degrees of success by a whole host of other providers. Most of
the time, there are problems when trying to post from them.

Without a doubt, this is the best place to be, if you have reliable access
to NNTP.

There are two basic ways to process form data -

1. Use mailto:name (AT) domain (DOT) com as the action of the form
2. Use a server-side scripting method to a) harvest the form's data, b)
process it in some manner, e.g., enter it into a database, c) formulate and
send an email to one or more email recipients, and d) redirect the visitor
to some ending page

Method 1 is quite simple, and is also the least reliable. It depends both
on your visitor having an email client already installed on their computer -
this eliminates public computers - and on that email client responding to
the mailto call (Eudora on the Mac is a good example of one that does not).

Method 2 is the preferred method, since it eliminates the problems of method
1, but it means that you have to grapple with server-scripting somehow (ASP,
CF, PHP, perl, etc.).

So - let's start with that. Which method do you want to use?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Netscape Man" <send2paul (AT) ic24 (DOT) net> wrote

Quote:
(Okay - I posted this in the Macromedia Forums, and for the life of me
can't understand why some postings get duplicated here, in Google
Groups. However, just in case it hasn't....here it is....)

Having been able to produce all kinds of forms in DWMX2004 what do I
do with them now? How do I 'use' with within a website? What
additional code do I need? How do I use this code in respect of the
forms I 've created? In what folders do I place the code so that I can
FTP it all up when I FTP the site from withinn DWMX2004?"

I'm being told about Form CGI code. What I do with the Form.CGI code
once I've got it? Do I insert it into the HTML file with the form? Is
it an "attachment", like a CSS style sheet? Which folder does it go
into, (if it is a separate file), with respect to the DWMX2004 root
folders, for FTPing up to the host server?

Any help would be gratefully appreciated. Thank you.

(Apologies if this gets duplicated in the Macromedia Forums - I don't
know why this happens )



Reply With Quote
  #3  
Old   
send2paul
 
Posts: n/a

Default Re: Using Forms Created in DWMX2004 - 07-19-2004 , 05:08 PM



Thanks Murray - I'll stay away from Google groups - don't understand this
mirroring mularchy!

Now - I suppose I would go for Method Two - as I want the easiest path for the
user of the form. .....


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Using Forms Created in DWMX2004 - 07-19-2004 , 05:13 PM



Then you would need some server script to process the form's data and send
the email. Ask your host what they supply.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"send2paul" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks Murray - I'll stay away from Google groups - don't understand this
mirroring mularchy!

Now - I suppose I would go for Method Two - as I want the easiest path
for the
user of the form. .....




Reply With Quote
  #5  
Old   
send2paul
 
Posts: n/a

Default Re: Using Forms Created in DWMX2004 - 07-20-2004 , 12:51 AM



Okay, thanks Murray, I'll enquire with a few people.

So, lets just say I've got some script. What do I do with it? I know this may
seem like an awfully basic question, but as I know nothing about this, and this
is the Macromedia DW Forum, these next few questions are even more specific as
to why I'm here...

How do I use the form script with the the files which I FTP up to the host
server from DWMX2004? Do I incorporate a new separate folder inside the root
folder containing the script? Is the script linked to the HTML file containing
the form, or is the script included with the file containing the form? What do
Ido with the script?

Thanks again Murray, for yours, and everbody else's help & patience.


Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Using Forms Created in DWMX2004 - 07-20-2004 , 07:37 AM



Here are good tutorials on how to use Formmail with your pages. Perhaps
they will answer some of your questions -

http://www.vendel.info/tut/formmail.html
http://people.unt.edu/jhinuk/Form_FAQ.htm

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"send2paul" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Okay, thanks Murray, I'll enquire with a few people.

So, lets just say I've got some script. What do I do with it? I know this
may
seem like an awfully basic question, but as I know nothing about this, and
this
is the Macromedia DW Forum, these next few questions are even more
specific as
to why I'm here...

How do I use the form script with the the files which I FTP up to the
host
server from DWMX2004? Do I incorporate a new separate folder inside the
root
folder containing the script? Is the script linked to the HTML file
containing
the form, or is the script included with the file containing the form?
What do
Ido with the script?

Thanks again Murray, for yours, and everbody else's help & patience.




Reply With Quote
  #7  
Old   
send2paul
 
Posts: n/a

Default Re: Using Forms Created in DWMX2004 - 07-21-2004 , 02:20 PM



Thanks for your help chaps - much appreciated

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.