Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Submit Button shall submit and call a site

Posted on 1999-01-04
Medium Priority
Last Modified: 2010-04-09
I use the following code to transmit text fields. By clicking on the submit button a site shall be called
which says that the data have been sent. Ho do I do this ?
<INPUT VALUE="Submit" TYPE="Submit" ???>
Question by:ItsMe

Author Comment

ID: 1841240
Edited text of question

Expert Comment

ID: 1841241
You have to place it between the "form" tag

<FORM ACTION="bla.html" METHOD="post">
 <INPUT..... NAME="blabla">

the "name" tag is needed to fetch the data in bla.html

How to fetch the data is a choise you must make... you can either do it by JavaScript,ASP or CGI


Author Comment

ID: 1841242
I can transmit the datas via e-mail in the action part but how do I call a second site after clicking the Submit Button ? The data
transmission via e-mail works but I'd like to view a site which says the user the the datas have been sent.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Expert Comment

ID: 1841243
1. You really need to have a cgi backend to do this right.

2. It seemed possible with a zero frame technique or maybe not (martinag said that this won't work with mail submission on another post somewhere).  Never tried it myself, but if you place a similar form in a hidden frame and have javascript send that form and update the main screen simultaneously.  But this is so not the way to do it since even when the mail failed to be sent, the screen will still say that it has been sent.

Go with cgi or non at all.
This can't be done correctly without cgi.

Author Comment

ID: 1841244
Ok, then I must do it without showing a second site. Does anybody know, how I can make the datas, which are sent to me by e-mail,
readable ? The datas consist of &'s and +'s ... thats really
sinewy. It would be better if they would arrive formatted like this:

Street=Teststrasse 9


I get them as an attachment.
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1841245
<FORM ACTION="mailto:yourname@yoursite.com" ENCTYPE="text/plain">


PS: 5 points seem a little on the low side...

Author Comment

ID: 1841246
Hi Michel ! Very good. Please use "Answer" so that you get the

Accepted Solution

thespis earned 40 total points
ID: 1841247
But that will not send them on to another site after the submit.... because you're using the ACTIOn for the Mailto tag.

If you want to do BOTH, the correct way would be with a cheap little free mail script like fmail.pl.

Processes forms to an address specified in a hidden tag and then sends them on to a URL specified in a hidden tag.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question