Hello guys, I have a problem when I'm developing with ruby on rails. I have 2 input text that I created by looping. These text_field are not related with database or active record so I can't use validation helper provided by Active Record. <%= textfield "game", "rpg" %> <%= textfield "game2", "rpg2" %> I want to validate these forms to prevent user insert same value or prevent user to keep empty. Anybody know how to do it? Thanks
Perhaps try the Validator Plugin. I think this is my first post, so you'll have to google the link (hint: it's on the Ruby on Rails wiki)
Forum Rules
Bookmarks