FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
submit after validation
#1
Hello,

I'm probably missing something very basic but I can't seem to make Ben's validation script (PHP Validation - v2.3.3 ) work together with formtools: after a succesful validation I'm redirected to a page with the message: "process.php is not receiving any data. Note: this script cannot be loaded directly in your browser.
Make sure your form is sending via POST."

In the 'no errors' part of the script I have:
Code:
header("Location:http://www.vavorijnmondcollege.nl/formtools/process.php");
      exit;

Any help is welcome,
Theo
Reply
#2
Smile 
Hi,

I am not an expert but this might help....

Try deleting the words - location:

This path should be entered in the form action field with the absolute path to the process.php file in your folder, for example:

<form action="http://your website/formtools/any subfolder*/process.php" method="post">

* enter as required and omit if not required


(Feb 20th, 2012, 2:53 PM)tmjcbs Wrote: Hello,

I'm probably missing something very basic but I can't seem to make Ben's validation script (PHP Validation - v2.3.3 ) work together with formtools: after a succesful validation I'm redirected to a page with the message: "process.php is not receiving any data. Note: this script cannot be loaded directly in your browser.
Make sure your form is sending via POST."

In the 'no errors' part of the script I have:
Code:
header("Location:http://www.vavorijnmondcollege.nl/formtools/process.php");
      exit;

Any help is welcome,
Theo

Reply
#3
Theo,

In addition to Alok's suggestion, the validation script needs to be called you need to add onsubmit="return rsv.validate(this, rules)" to the form tag as well <form ... onsubmit="return rsv.validate(this, rules)">

In case you missed the documentation on RSV here's the link for it: http://docs.formtools.org/tutorials/js_v...e=rsv_file

Cheers,

Joe
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)