submit button always goes to php page

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
plony54
Posts: 1
Joined: Mon Aug 31, 2009 7:51 am

submit button always goes to php page

Post by plony54 »

I am using WeBuilder 2008 build 9.52 on Windows XP Pro running Apache Server.
I have an HTML page with a SUBMIT button going to a PHP page. I want to validate fields for entry. in the ONCLICK=, if I type the word "return" and the name of the javascript routine it does not execute the Javascript function and always goes to the PHP page. If I just specify the name of the javascript function without the word "return" it will execute the Javascript function but always goes to the PHP page even when I return false intending control to remain on the HTML page so the user can correct the errors.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: submit button always goes to php page

Post by chrisjlocke »

So this is running through the Apache server, or the WeBuilder internal web server?

Doesn't sound like its WeBuilder thats got / causing the problems, as it doesn't actually run any of the code you're entering.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: submit button always goes to php page

Post by syrupcore »

can you verify the same thing is/isn't happening when you load the page in a browser?
Post Reply