WordPress.org

Ready to get started?Download WordPress

Forums

Tinypass
Errors result when TinyPass is enabled on a page that contains HTML form code. (2 posts)

  1. amfriedman
    Member
    Posted 1 year ago #

    In Code View I've created a small HTML form, like so:

    <form><input type="text" name="stuff" /></form>

    This displays a text field under normal circumstances. But once I enable TinyPass for this post or page, the live page shows some very strange results, including wiping out any of my form field code, and then revealing to the site visitor a bit of TinyPass Javascript code. Note the invalid and broken HTML markup that results:

    <form><input type="text" <script="">
    	if(typeof tinypass_reloader != 'function') {
    		function tinypass_reloader(status){
    			if(status.state == 'granted'){ window.location.reload(); }
    		}
    	}
    
    <div id="tinypass_button_holder">
    	<!-- ...and then a bunch of normal TinyPass paywall code here... -->
    </div><p></p>
    </form>

    Any fix for this?

    http://wordpress.org/extend/plugins/tinypass/

  2. wordpress@tinypass.com
    Member
    Plugin Author

    Posted 1 year ago #

    It is possible that TP is incorrectly truncating your post and therefore breaking up the HTML.

    Could you provide the post content and we can try and confirm if this is the problem. You can email us directly at support@tinypass.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic