I don't intend to go so far as to create some kind of custom API
project. I was intending more to separate the noise from the actual
implementation of the validation mess--more of a clean-up of a
too-large script than anything else.
I also don't want to inject a dependence on another external framework
or script--I want to make sure you all can do things the way you like
to. That's why I'm trying to leave more hooks as I go through this
round of refactoring, including the idea of overridable default values
and functions. That way you can write, for example, your own
mechanism for marking required or invalid fields.
I'm not too familiar with WebForms 1 or 2. If you feel like kicking
off some sort of group discussion for that, I'd hope others would like
to contribute. In fact, I'd like to see this whole thing progress on
a more open source path than what it is now.
Thanks for the feedback!
--- In validation@yahoogroups.com, "Hallvord R. M. Steen"
<hallvord@o...> wrote:
> On Thu, 15 Sep 2005 22:47:00 +0200, somematt <matthew.a.frank@g...>
> wrote:
>
> > I've been working lately on updating the validation script to handle
> > more XXX and yield more opportunities for customizing behavior and
> > whatnot. As I progress, I'm finding that I'm extracting more and more
> > to what appears more like DOM/JavaScript API extensions. What does
> > everyone think of my splitting the API script from the validation
> > script?
>
> I'm not a neutral user of your script :-) but something I would like
to
> see is JS-emulations of the form validation in WebForms 2, meant to
make
> sure Internet Explorer "understands" WF2 features. How much work
would it
> be to make a WF2 - version of "validation"?
>
> API extensions are interesting but there already are quite a few of
them
> and it is easy to end up like DynAPI - an enormous library that
requires
> considerable study to use in an interesting way < this is obviously
just
> my opinion and don't tell the DynAPI guys what I said :-p >.
>
> WF2 spec is here:
> http://whatwg.org/specs/web-forms/current-work/
> --
> Hallvord R. M. Steen
> Core QA JavaScript tester, Opera Software
> http://www.opera.com/
> Opera - simply the best Internet experience