Solved

Submit Button shall submit and call a site

Posted on 1999-01-04
8
224 Views
Last Modified: 2010-04-09
Hi,
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" ???>
0
Comment
Question by:ItsMe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 

Author Comment

by:ItsMe
ID: 1841240
Edited text of question
0
 
LVL 4

Expert Comment

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

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

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


0
 

Author Comment

by:ItsMe
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.
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
LVL 6

Expert Comment

by:PBall
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.
0
 

Author Comment

by:ItsMe
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:

Name=Myname
Street=Teststrasse 9

etc.

I get them as an attachment.
0
 
LVL 75

Expert Comment

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

Michel

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

Author Comment

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

Accepted Solution

by:
thespis earned 10 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.

Terrence
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
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…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

718 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