Email input displayed on another page

Hello

My question is if there is a way to add a input field on my website where people will type their email and then press “GO” or “submit” and they will be directed to another website and their email they enterd will automatically be displayd on that websites email submission.

and if its possible that it would press the submit button on that page as well directly.

cant find any tutorial on this on html or java, maybe you can help me =)

Yes, becaues I realy cant access that page sorta. (page 2) make changes on it at one place.

so a script or something doing it from page1 would be helpful for that page if its possible.
(insert email info on page2 and then press go automatically)

(thanks for the one u already posted, have made good use of it, ur the hero of the day :slight_smile: )

So you want another form on the second page with the same details?
Why?
Why not just have it submit directly to the handler?

You could use javascript on the second form, so when the page has loaded you just submit() it…

Is there away to make it work or autoinsert the email only (maybe not press submit on the 2nd page) without adding code on page 2?

Just asking out of curiosity.

But thanks for your help! this is what was needed.

Thanks for providing me with this information! =)
really useful indeed :slight_smile: ive been looking all over for this.

Update

The company that owns page2 have said they will review the code and might implant it, unless it does not inner fear with their tracking cookie system for the costumer.

Thanks for all your help :slight_smile:

Yes, this is indeed possible.
Obviously there are 2 sites in mention(bear in mind this can be done on the same domain as well if required), 1 that has a form on it, and the other that collects the information.
The real work is done on the second site, as the first site is just a static form with action=“” set to the remote script processing the request.

site1:

<form method=“post” action=“http://andrewodendaal.com/the-form-processor/”>
<input type=“input” name=“email” /><br/>
<input type=“submit” value=“GO”/>
</form>

site2:

<?php
if (isset($_POST)) {
// do whatever with $_POST[“email”] form element data.
}
?>