Hey Terry,
Sorry - I can see why this is leading to confusion. I actually made a couple of modifications to the rsv.js script that's bundled with Form Tools to reduce the amount of redundancy in my own code. Form Tools uses RSV on virtually every page, and in most cases uses a custom error handler (the rsv.customErrorHandler option) to display the error messages in the page. This has been hardcoded into the rsv.js file, so it won't work unless you explicitly override it to null in your own pages.
I documented what you'll need to do in this tutorial:
http://docs.formtools.org/tutorials/js_v...ed_product
Namely, these three lines:
But that *really* isn't very clear.... erk! I'll put a big proviso on the first page of the tutorial to make this clearer.
Sorry, guys.
- Ben
Sorry - I can see why this is leading to confusion. I actually made a couple of modifications to the rsv.js script that's bundled with Form Tools to reduce the amount of redundancy in my own code. Form Tools uses RSV on virtually every page, and in most cases uses a custom error handler (the rsv.customErrorHandler option) to display the error messages in the page. This has been hardcoded into the rsv.js file, so it won't work unless you explicitly override it to null in your own pages.
I documented what you'll need to do in this tutorial:
http://docs.formtools.org/tutorials/js_v...ed_product
Namely, these three lines:
Code:
// these lines are required if you're using the rsv.js file that's bundled with Form Tools.
// They reset the custom handlers defined in the file
rsv.errorFieldClass = null;
rsv.customErrorHandler = null;
rsv.displayType = "alert-all";
But that *really* isn't very clear.... erk! I'll put a big proviso on the first page of the tutorial to make this clearer.
Sorry, guys.
- Ben