anthonytr
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'.
Currently, with the above code, when i press GO, nothing happens. What am i doing wrong?
Thanks
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>
Currently, with the above code, when i press GO, nothing happens. What am i doing wrong?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.