WordPress.org

Support

Support » Plugins and Hacks » Subscribe2 » [Resolved] validation

[Resolved] validation

Viewing 8 replies - 1 through 8 (of 8 total)
  • @stimsonm,

    Why? If you enter anything that doesn’t look like an email the form is presented again with an error message below it.

    mine submits, if i just choose submit it goes to thank you page

    on a side note i’m not using widget I’m using template tag:

    <?php
    	$content = apply_filters('the_content', '<p><!--subscribe2--></p>');
    	echo $content;
    ?>

    @stimsonm,

    If you have deployed the code outside of the page shortcode or widget then something is probably being missed. Is there no way you can use the shortcode on a page to check functionality? Also, check what the $_POST variable holds after submission on your page, that might help you debug.

    i used the button to create the form on a page and it did the same thing. How do I check what the post variable holds?

    @stimsonm,

    Something like Firebug would help maybe or just add a var_dump() to the theme file.

    _post was 636, not sure what that is

    @stimsonm,

    Something is clearly going very wrong in your deployment of the code outside of the intended Widget or shortcode. For it to be returning just an integer number is nothing at all like what it should be returning.

    I’d advise you start over and try to use the plugin as it’s designed within your site.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] validation’ is closed to new replies.
Skip to toolbar