Announcement

Collapse
No announcement yet.

Email capture box not working (ive done it wrong i bet)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Email capture box not working (ive done it wrong i bet)

    Ive entered this code into my Actinic and it all disaplys wonderfully - only there is an error message when i enter an email address in it...

    Cn anyone shed any light, i reliase im doing something wrong but not sure what.


    <form method="post" action="<Actinic:Variable Name="SendMailPageURL"/>"
    onsubmit="if (this.EmailAddress.value != '') {return true;} else {alert('Email is required'); return false;}"
    >
    <input type="hidden" name="RANDOM" value="<actinic:variable name='Random'/>" />
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
    <!-- Hidden field when in trial mode -->
    <input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>" />
    </actinic:block>
    <actinic:variable Name="ValidationError"/>
    <input type="hidden" name="Name" size="50" value="Actinic user" />
    <input type="hidden" name="Subject" size="50" value="Information required" />
    <input type="hidden" type="hidden" rows="10" name="Message" value="Special Offers info required" />
    Enter email address to be informed of special offers: <input type="text" name="EmailAddress" size="50" value="" />
    <input type="submit" name="ACTION" value="<Actinic:Variable Name="MailFormSendButton"/>" /> </form>
    Lorna
    www.horsepoosaddlery.co.uk - for everything equestrian
Working...
X