Google Answers Logo
View Question
 
Q: Using Java Script to send info to a mailer ( No Answer,   4 Comments )
Question  
Subject: Using Java Script to send info to a mailer
Category: Computers > Programming
Asked by: stevenclary-ga
List Price: $5.00
Posted: 23 Jun 2004 10:28 PDT
Expires: 13 Jul 2004 06:00 PDT
Question ID: 365140
How can I use Java Script to pass information from a form feild... to
a mailer program (such as cfmail or some type of cgi mailer)
Answer  
There is no answer at this time.

Comments  
Subject: Re: Using Java Script to send info to a mailer
From: hacky97-ga on 24 Jun 2004 06:58 PDT
 
something like this:

<form action="myCGIscript.cgi">
bla bla this is my form
add form controls here
</form>

<script language="javascript">
youformname.submit()
</script>
Subject: Re: Using Java Script to send info to a mailer
From: stevenclary-ga on 24 Jun 2004 11:39 PDT
 
Thanks for you time.
Hmm... ok, can you elaborate more this.  In particular, how would that
script get executed?

Steve
Subject: Re: Using Java Script to send info to a mailer
From: ymanish-ga on 25 Jun 2004 00:57 PDT
 
<form action="myCGIscript.cgi">
<!-- all your form fields -->
<input type="submit">
</form>

************************
The form will have all fields defined by you.
And also a button at the end, clicking on which,
all the field values will get submitted to your "myCGIscript.cgi" file.
Subject: Re: Using Java Script to send info to a mailer
From: vellmont-ga on 28 Jun 2004 06:49 PDT
 
Why do you need Javascript when you can submit the form data to the
CGI with a regular old submit button?

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy