The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
RSV form validation between different domains? - 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: RSV form validation between different domains? (/showthread.php?tid=1452)



RSV form validation between different domains? - SteadmanTech - Jul 11th, 2011

I'm not sure if I can do this or not. I've tried and the validation simply does not happen. The form is simply submitted whether required items are present or not.

Here is what I am trying to do...

Form Tools is installed on my business server (myserver.com)

User response form is built into my client's web site (clientserver.com)

I am trying to point the form on clientserver.com to Form Tools at myserver.com. I am calling the script in the head section of the form page using an absolute url pointed to myserver.com and I've included the rsv.js script call in the form 'action' parameter.

Code:
<form method="post" action="http://myserver.com/form_tools/process.php" name="Contact_form" id="Contact_form" onsubmit="return rsv.validate(this, rules)">

Form Tools is doing its job as I can see that the form submissions are making their way into the FT database and Form Tools is responding by sending the form user on to the Redirect URL.

I just don't get any validation. If this should work, what am I missing?


RE: RSV form validation between different domains? - Ben - Jul 21st, 2011

Hi Steadman,

I'm terribly sorry for missing your post.

So! If the validation is failing, that means you have a JS error somewhere. First thing I always do is enable errors in the browser so I can see what problems occur.

In your case, check your path to the rsv.js library to make sure it's being included. That would be my first bet. Failing that, there's another javascript error occuring on your page that's preventing the validation from executing.

But I'd definitely start by enabling JS errors so you can see the problem.

Good luck...!

- Ben