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

  1. amfriedman
    Posted 3 years 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... -->

    Any fix for this?


  2. wordpress@tinypass.com
    Plugin Author

    Posted 3 years 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

  • Tinypass
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic