• I have included some JavaScript and a form in my WordPress blog post. The whole thing works great when it’s a standalone HTML page, but when I make it a WordPress post the “Highlight” (submit) button doesn’t work.

    I suppose the WordPress formatting or markup is breaking things. But I use the text control plugin and my form still doesn’t work even when I remove formatting and character encoding.

    How can I get my “Highlight” button to work?

    Below is the working HTML file, followed by the WordPress blog code (the only difference is that the WordPress code lacks tags like: <html> <head> </head> <body> </body> </html>)

    Here’s the HTML file, try it for yourself:

    [Moderated: WAY too much code. Please consider placing the code in a text file on your site with a link here -or- use a pastebin service such as https://wordpress.pastebin.ca. Thanks!]

    Any ideas?

Viewing 1 replies (of 1 total)
  • Thread Starter lukeprog

    (@lukeprog)

    I can’t seem to edit the original post, so:

    I have included some JavaScript and a form in my WordPress blog post. The whole thing works great when it’s a standalone HTML page, but when I make it a WordPress post the “Highlight” (submit) button doesn’t work.

    I suppose the WordPress formatting or markup is breaking things. But I use the text control plugin and my form still doesn’t work even when I remove formatting and character encoding.

    How can I get my “Highlight” button to work?

    Below is the working HTML file, followed by the WordPress blog code (the only difference is that the WordPress code lacks tags like: <html> <head> </head> <body> </body> </html>)

    Here’s the HTML file, try it for yourself:

    https://wordpress.pastebin.ca./684541

    And here’s the non-working WordPress code:

    https://wordpress.pastebin.ca./684542

    Any ideas?

Viewing 1 replies (of 1 total)
  • The topic ‘form in blog post not working’ is closed to new replies.