The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Jquery Form Validation - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Jquery Form Validation (/showthread.php?tid=1284)



Jquery Form Validation - crunchers - May 10th, 2011

Since you'll be switching to jquery lib, any chance you can include the jquery validation plugin as standard? If not, perhaps reference it in your examples/tutorials?

http://docs.jquery.com/Plugins/validation

I've used it since FT1.5; highly flexible, easy to use, and my client-side validator of choice.


RE: Jquery Form Validation - Ben - May 12th, 2011

Hi Crunchers,

Probably not... (boy, I'm full of good news today!). I'm already bundling my own JS validation library (RSV) with Form Tools and including a second would be overkill. I've no doubt it's pretty good (in fact, I think I've used it myself at one point), but I'll stick with the current one for now. I wrote RSV to work hand in hand with PHP validation, so after you create the validation rules for JS, you can just copy & paste them into your PHP to use them there as well (with a few minor syntax changes). This has saved me sooo much time over the years.

For the docs, I'd rather keep everything consistent. Developers who are comfortable with JS or their own libraries can easily drop in their own.

But I appreciate the idea!

- Ben


RE: Jquery Form Validation - crunchers - May 12th, 2011

Again, no worries. I hadn't figured you wrote the existing javascript validator (obvious in retrospect).

Absolutely keep RSV and ignore my previous suggestion.

Thanks, Ben.

FYI - give me a shout when you're in London; I owe you a beer (or two).


RE: Jquery Form Validation - Ben - May 12th, 2011

Nice!! Will do. I'm flying out tomorrow & get into London on Sat, but have a conference for a few days.

Either way, prepare for serious mooch-dom. (Actually, I'll buy my own ;-) ).

- Ben