Displaying 1 result from an estimated 1 matches for "69x4".
Did you mean:
694
2007 Sep 25
2
Character limit for text field
I was just wondering if there is a way to limit the number of characters
that can be entered in a textfield? Here is what I have for a helper:
<%= text_area ''user'', ''rentalcar_comments'', :size => "69x4" %>
I am describing a size but I need it to only allow a certain number of
characters and no more. Is that possible or am I going to have to right
a method that check and then kicks back an error message? Thanks,
-Shandy
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~...