The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
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 |