Discussion Forums
- Topic List
- Most Recent Posts
- Sign In for more options
And if you don't insist of doing it with Prototype, you can do some really cool usability form enhancements with JQuery.
how about using tooltips...? simply pass :alt => " " or :title => " " into text_field_tag. if you need fancy looking tootips you can use a javascript library. I found one here http://www.walterzorn.com/tooltip/tooltip_e.htm
Hi
I have a register form with three fields.
Name
password
my requirement is...
when i focus("onFocus") on name "text_field" a small message should display as " Name required".
When i move from that text_field("onBlur") it has to validation. That is "empty or Not".
I have three options.
1) Livevalidation plugin.
2)observe_form
3)with javascript.
Im intrested to do in Javascript.
Please help me to do in javascript with example code.
with regards:
ANAS
