Hello,
I would like to have a set of utility classes to generate
client-validated input fields, using Javascript. I'm
thinking of:
* number-only fields
* text-only fields
* masked input (this one could be hard in general)
* others? (I have a couple in mind for special purposes,
and I would like these classes to provide a "framework"
for this functionality)
The utility classes would do the following:
* Generate the Javascript code only if the browser supports
Javascript, otherwise just generate a simple input field.
* Check that any supporting Javascript functions are only
generated once per page.
* In version n+1, read the Javascript code from external
files.
The usage would be something like:
$fieldGenerator.create("numeric", "total");
$fieldGenerator.create("alphabetic", "name");
maybe passing other parameters (form name, etc.) that might
be needed by the JavaScript.
I am wondering if this would be the right approach to this
problem, and if so, whether there would be interest in me
taking a whack at implementing it. If so, where would this
go in the Turbine hierarchy? Or perhaps this is already
there, deep in the bowels of Turbine?
Thanks,
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]