First, please note that I’ve looked and been unable to find anything in the resource directory that handles what I am interested in - but I overlook very useful things all the time. So if anyone knows of any work that has been done along these lines, please pass it on.
I want to integrate some advanced (client-side) form validation methods, similar to
http://tetlaw.id.au/view/javascript/really-easy-field-validation"" target="_blank" rel="nofollow">DexagogoReally easy field validation - this method uses some elements of Prototype for animating its warning/confirmation classes and uses validation based on the wForms kit I believe.
That leads me to the question of what library to start from. Mootools is already being utilized - perhaps there, but I’m not certain that the mootools elements used by MODx include form validation functions. Please excuse my MODx youth here, but my next question is what would be the best way to approach this task within the framework. Snippet or Plugin? Do I hack up or add on to eForm, or start from scratch?
This doesn’t seem like anything that should drive me this nutz. I’m pretty sure this shouldn’t be
that hard to do the right way. I’ve stylized client-side validation of forms several times, with a few different JS libraries and scripts - just not yet within MODx.
Thanks in advance for any workflow/framework tips or resources on how to approach scenarios like this in MODx and avoid hacking a bunch of stuff into the system unconventionally, and thanx to anyone that helps me get started.