|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
backlash can't be restricted in input field
Does anybody know how to restrict the backslash in the input field?
I tried this code for my input text field named “myInputField” but you can still type the backslash: // create input text field _root.createTextField("myInputField", 1, 20, 20, 300, 20); myInputField.type = "input"; myInputField.border = true; // restrict backslash character myInputField.restrict = "^\\"; Can someone tell me what I'm doing wrong here? Thanks. |
|
#2
|
||||
|
||||
|
Below is an fla with the backslash disabled.
|
|
#3
|
|||
|
|||
|
Hmm... actually what I really wanted to do is to allow all characters including extended ASCII characters except for the backslash. So instead of a set of allowable characters I wanted to have a shorter set of restricted character(s).
Thanks though! |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > backlash can't be restricted in input field |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|