Restriction in text box

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.

Thanks

Mark

On 9/20/06, Nakshtra S. [email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs