WordPress.org

Ready to get started?Download WordPress

Forums

Javascript Form Validation Ignored in Posts? (1 post)

  1. capsize
    Member
    Posted 6 years ago #

    Hi,

    I have an html form in a post, and I have javascript validation to make sure all the required form items are being filled in. I am having 2 problems:

    1) when i add the code, <P> and <br> tags are being added. we are working in code view when adding the post.

    2) the javascript is being completely ignored. We have it on the server in a php page -- and when we navigate to this page and test, the validation works. But once we add the code to a new post, we are receiving javascript errors, and the validation is getting ignored completely.

    If someone has some thoughts on using javascript in posts that would help solve our issue, we would appreciate it.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic