Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Has anyone build form validation using YUI?

Tags:

validation

yui

DUPE: Any Yahoo YUI validation framework that I can implement in asp.net MVC?

Has anyone built form validation functions using YUI that could mimick how asp.net handles form validation?

I know jquery has a nice validation addon, was hoping YUI would also.

like image 566
Blankman Avatar asked Nov 24 '25 06:11

Blankman


2 Answers

YUI doesn't have form validation built in as a separate component. There are a number of loose add-ons that people have done over the years, such as:

http://blog.jc21.com/2007-02-05/yui-unobstrusive-javascript-validation/ http://bubbling-library.com/eng/api/docs/plugins/wizard

The most directed work I've seen on this in the YUI ecosystem has been this project:

http://yuiblog.com/blog/2008/05/08/inputex/

I'm not sure what its current state is.

We'll add a formal component to YUI that provides common forms functionality, but that's down the road a bit.

-Eric

like image 123
Eric Miraglia Avatar answered Nov 28 '25 15:11

Eric Miraglia


I just took a quick look through the YUI toolkit and there doesn't seem to be anything that jumps out at me. I know they have stuff for validation on the DataTable inputs, but it doesn't look like there is an equivalent for forms.

like image 22
Nick Berardi Avatar answered Nov 28 '25 16:11

Nick Berardi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!