Security Error Occurs on Form Submit

-Ice-

Active member
Every time I submit a form I made, I get a "Security error occurred. Please press back, refresh the page, and try again." I know it's not the action function or any of the PHP, because I set a different form's action to "storefront-purchase/confirm" and it redirected and everything fine. I looked at a few other forms, and read that I needed that _xftoken, which I have.

I made this incredibly simple (and ugly) test form, and it also doesn't work:
HTML:
<form class="xenForm AutoValidate" data-redirect="on" method="post" action="{xen:link storefront-purchase/confirm}" >
<input type="submit" />
<input type="hidden" name="_xftoken" value="{$visitor.csrf_token_page}" />
</form>

Any help would be appreciated :)
 
Top Bottom