Powered by Vanilla 1.1.4.
We work with asp.net and I wonder if we really need the <form> tag for this to work, or can I just have a div and apply the class name to it?
Every asp.net page is a form and we shouldn't have nested forms in xhtml so it'd be nice if the form tag is not needed.
Haven't had time to go through the xhtml/css files in the download and want to know that before I decide to implement it in one of our projects..
Thanx for the good work,
Damir
The class .uniForm is nowhere referenced as specifically form.uniForm (this selector affects only the form elements with the class .uniForm), so technically your Uni-Form could be a div for example.
Damir would you be so kind to let us know how it behaves in asp environment? I'd personally like to know, but I think others would appreciate it too. Thanks!
No problem...
I'll try to test it today, we have a nice project for it, some 50+ form elements... I'm pretty sure we'll integrate it wothout problem. jQuery is a nice touch too, especially since we started using it for some other parts in the project :)
I'll let you know how it works...
Hello again...
We did some testing with asp.net (2.0) and it looks fine. The only problem is that highliter function doesn't work as it is without form tag. It's the uni-form.jquery.js script that excepts a form tag I guess...
Can that be changed so it can look for anything with .uniForm class?
I'll pass that on to Ilija, he did the jQuery bit.
line 40 of uni-form.jsquery.js change
jQuery('form.uniForm').uniform();
to
jQuery('.uniForm').uniform();
Kyle
http://rpmware.com
Ohh, I completely forgot to get back on this, sorry...
I've tested that few days ago and it's all fine. Highliter class is applied as needed.
Thanx for the input.
The question is if the version without form part should be the default one. It'd be nice if uniForm thingie had support for all those asp.net users out there who actually do care about web standards... And there are quite a few of us beleive it or not ;)
Have fun guys...
1 to 7 of 7