Perfect, that is exactly what I wanted,

Thank you!



On Sep 23, 5:49 pm, Henry Baragar <[email protected]>
wrote:
> Hi,
>
> I normally use:
>
>         errors.add (:field, "something wrong")
>
> which causes a red box to be drawn around the input box for the field named
> "field".  Would this work for you?
>
> Cheers,
> Henry
>
> On September 23, 2010 05:38:36 am Pete wrote:
>
>
>
>
>
> > HI,
>
> > I hope this is a fairly simple question....
>
> > I often like to add my own cutom validation, and add the messages
> > using -
>
> > errors.add_to_base "something wrong"
>
> > but I would like to, if possible, draw attention to the particular
> > field input, as Rails/Hobo does automatically if something is
> > incorrect for that field,
>
> > How can I add this field highlighting to that field manually (.field-
> > with-errors??)?
> > Is there a simple way of doing this, such as with errors.add_to_base?
>
> > Thanks
>
> > Pete
>
> --
> Henry Baragar
> Instantiated Software- Hide quoted text -
>
> - Show quoted text -

-- 
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