You are viewing this page out of context. To see it in the context it is intended please click here.
About This Page
Reply posted by Jerry Carter on Tue 6 Jun 2006 in response to Form Validator R3.0
Suggested future feature
Hey Jake, good stuff.One thing I was thinking on last night was an easy way to tie this to server
side validation as we know both client and server side are important. What's
needed is a bit of a framework (using available tools) to allow the Javascript
client side implementation to be autmatically produced by server side form
settings, e.g. a field called Validation_Rules that might invoke a script
library which would have a two-fold function: compute the proper JS to call the
validator as needed for the form, and to perform WebQuerySave validaiton using
the exact same rule set. WQO processes to produce needed runtime JS, WQS
processes to server side validate.
The ruleset might be something as simple as a nested delimited list in a
computed text field. field_name:field_label:rule#;
field_name:field_label... etc.
The goal being minimal setup to kill two birds with one stone. Maybe version
4.0, eh?