Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

Submit Button shall submit and call a site

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
ItsMe
Asked:
ItsMe
1 Solution
 
ItsMeAuthor Commented:
Edited text of question
0
 
siabodCommented:
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
 
ItsMeAuthor Commented:
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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
PBallCommented:
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
 
ItsMeAuthor Commented:
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
 
Michel PlungjanIT ExpertCommented:
<FORM ACTION="mailto:yourname@yoursite.com" ENCTYPE="text/plain">

Michel

PS: 5 points seem a little on the low side...
0
 
ItsMeAuthor Commented:
Hi Michel ! Very good. Please use "Answer" so that you get the
points.
0
 
thespisCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now