On 9/20/06, Nakshtra Systems
<nakshsys-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> I have a problem with how to make restriction in text box to take specified
> initial character, means,
> if I have a field ''Managing_Unit'' whose text box value
begins with letters
> ''EC'' only.
No standard HTML based way to do this that I know of. You can
probably do something with javascript. (I''ll let the javascript
experts here tell you how - my attempt would likely be wrong.)
--
...because the way humans ... perceive beauty is intimately related to
our ability to process and understand complexity. A language that
makes it hard to write elegant code makes it hard to write good code.
--Eric S. Raymond
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---