Jump to content

Help with a form submission!!

- - - - -

  • Please log in to reply
No replies to this topic

#1
benswana

benswana

    Newbie

  • Members
  • Pip
  • 1 posts
Hi, I have always had trouble using forms and I am having an issue getting a newsletter subscribe to work with my existing newsletter form I have.


the existing:
<form id="form_1"  method="post">

						<div>

							<div class="wrapper">

								<div class="bg"><input type="text" class="input"></div>

								<a href="#" class="button" onClick="document.getElementById('form_1').submit()">OK</a>

							</div>

							Join our mailing list to receive our latest news and special offers!<br><a href="#">Unsubscribe</a>

						</div>

					</form>

the one i need to integrate without messing up my style:


<form method=post name="subscribeform"><input type="hidden" name="formtoken" value="888feded50e5dcc514e7182edef56411" /><table border=0>

  <tr><td><div class="required">Email</div></td>

  <td class="attributeinput"><input type=text name=email value="" size="40">

  <script language="Javascript" type="text/javascript">addFieldToCheck("email","Email");</script></td></tr><input type="hidden" name="htmlemail" value="1">

</table><input type="hidden" name="list[2]" value="signup"><input type="hidden" name="listname[2]" value="The List "/><div style="display:none"><input type="text" name="VerificationCodeX" value="" size="20"></div><p><input type=submit name="subscribe" value="Subscribe to the Selected Newsletters" onClick="return checkform();"></p>

    </form><br/><br/>

    <p><a href="http://www.mysite.co.uk/lists/?p=unsubscribe&id=1">Unsubscribe</a></p>



The problem I am having is the button submission needs to be a href and I don't really have much of a choice in the matter!

If you can help I will be eternally grateful!!!

Edited by Roger, 13 November 2011 - 09:01 AM.
added code tags





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users