• Hi, I am in need of help.

    I have a website, which has a form to fill out (simple form, that calls a PHP function and some other JQuery libraries). It is made in an ordinary HTML file, and works well on my servers.

    Now I have a new site made in WordPress. The site works great and everything, but the form does not. I do not have so much experience with WordPress to tell what is wrong. It does show, but it does not function properly. Can somebody please check it out? The biggest problem is the button, where you choose how to ?pay?. It does actually redirect you, but it should happen twice, but it does not…

    This is the site: https://www.zivimo.zdravo-zivljenje.org/naravno/

    I just copied the code into the past of the site and of course I uploaded the required files to the server, so that it has all the files and functions that it needs.

    And this is the code that works completely fine in my normal HTML site:
    https://pastie.org/10798862

Viewing 2 replies - 1 through 2 (of 2 total)
  • Where did you paste it – into the content area of a WordPress page?
    If so, that’s not how I’d recommend doing something like this. It is better to create a page template and add your code directly into that, as this will bypass all the filters WordPress puts content through.

    Thread Starter bogatajtadej

    (@bogatajtadej)

    Well i did paste it directli inside of a content area, but it was via the Raw HTML / Raw JS elements in inside of the Visual Composer. But i will try it out so that i make a completely new Wp theme for now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form not working as it does in HTML site’ is closed to new replies.