Is there a way to continuously check when a user types into a field
and allows only certain characters?

Something like this:

on checkForInput
if the char is not "a,g,t,c"
---do nothing
else
remove last char in fld "fldTest"
end checkForInput

This would only allow to enter the chars a,g,t or c into a field.

How can I check for field input only while the cursor is within the field ?
If I can not do this I will have an idle handler running all the time.

Is there also a way to limit the number of chars which a user can type?
It is important to check while typing, not when one leaves
the field, otherwise the user has to enter or change a lot of text in 
some cases.

Cheers
Rolf

Reply via email to