Hoi fellow Hobo addicts.

Does someone know how to access the validation( rule)s in a DRYML tag
definition?

I'm about to write an extension that add some javascript to the forms
to validate the inputs at the client side (aka in the browser) for
better user experience.

My models have some validations like
    validates_length_of :browser_title, :maximum => 80, :too_long =>
"a boring error message."
which shall produce a javascript character counter in the front end
that shows how many characters are left until the user reaches that
'maximum' limit.

Any ideas?

TIA,
  Gert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to