Link to home
Start Free TrialLog in
Avatar of anthonytr
anthonytrFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Pass form variable from one web form to another

Hi,

I have a very simple form on the frontend of a Drupal website.  The form simply asks for a users email address.  What I am trying to do is then navigate the user (when they press GO) to my 'contacts us' page with their email address already populated in the 'email address field'.

<form id="newsletterForm" action="http://mydomain/contact-us" method="POST">
	<div class="input-group">
		<input class="form-control" placeholder="Email Address" name="EmailAddress" id="EmailAddress" type="text">
		<span class="input-group-btn">
			<button class="btn btn-default" type="submit">Go!</button>
		</span>
	</div>
</form>

Open in new window


Currently, with the above code, when i press GO, nothing happens.  What am i doing wrong?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial