i understand can't have 2 form elements. here code below:
<form method="post" action="http://enews.thewebsite.com/q/z_-p5ayqihzrli2j67quq1ayrmdxk9jlrt" accept-charset="utf-8"> <form action="<?php echo $this->getformactionurl() ?>" method="post" id="newsletter-validate-detail<?php echo $this->getadditionalformid(); ?>"> <input type="hidden" name="crvs" value="hj8duzs3id-3ptnoceyqbznp-ywixcvsiopgdnljkji8uxaxedhidptemaiiybcex_ieutzvetyzyy_6wp6ukkp5ljddri7lbgsnjg9em_tdafck1mcgha7rraz8_zyk1gjuytszoie60hj-s5ov9doy1najoz-afdbkkaoxuvw"/> <div class="form-subscribe"> <div class="form-subscribe-header"> <label for="newsletter"><?php echo $this->__('sign receive our newsletters') ?></label> </div> <div class="form-subscribe-input"><input name="email" type="text" id="newsletter" value="<?php echo $this->__('email address') ?>" onclick="this.value=='<?php echo $this->__('email address') ?>'?this.value='':''" onblur="this.value==''?this.value='<?php echo $this->__('email address') ?>':''" class="input-text required-entry validate-email" /></div> <div class="form-subscribe-submit"><button type="submit" class="button" title="<?php echo $this->__('sign up') ?>"><span><?php echo $this->__('sign up') ?></span></button></div> </div> </form></form> <script type="text/javascript"> //<![cdata[ var newslettersubscriberformdetail = new varienform('newsletter-validate-detail<?php echo $this->getadditionalformid(); ?>'); //]]> </script>
the first post action 1 taking precedence. them both fire in order now.
is possible?
perhaps can use javascript so:
<script type="text/javascript"> function dopreview() { form=document.getelementbyid('newsletter-validate-detail'); form.target='_blank'; form.action='thewebsite'; //first action form.submit(); form.action='backto-other-action'; //second action??? form.target=''; } </script>
Comments
Post a Comment