you can to that using a js, putting into application.js, calling the function 
on the change focus
Em 13/07/2011, às 22:45, Demon Mind escreveu:

> Hi guys i am trying to validate a field in a form. I dont want that
> field to contain a certain string. Lets say if a user types : "i want to
> kill you" he gets a message : Change the message! How can i do that?
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to