The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
submit after validation - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Form Validation: JS + PHP (https://forums.formtools.org/forumdisplay.php?fid=18)
+--- Thread: submit after validation (/showthread.php?tid=1909)



submit after validation - tmjcbs - Feb 20th, 2012

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



RE: submit after validation - im4u_fforum - Jun 28th, 2013

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




RE: submit after validation - Joe - Jul 2nd, 2013

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_validation/?page=rsv_file

Cheers,

Joe