View previous topic :: View next topic
|
Author |
Message |
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
In Ispf panel i want the field to accept alpha(a-z,@, #, $),num(0 to 9) and under score(_).For alpha and num i used "ver(include,alpa,num)", but i dont know how to include the underscore.can u please help me |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Is the underscore used as a default character ?
If so take a look at the default definition of your panel.
)ATTR DEFAULT(%+_) |
|
Back to top |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
The underscore is not a default character.
for example i want to enter name_1. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
The underscore is not a default character. |
I think that unless you define which charachters are default, then the underscore will be accepted as a default character.
I know this because I have tested it.
I can get my panel to accept underscore as input. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
In fact I have just tested something else, and my panel will accept the underscore without any changes ................ so how about you post your panel definition.
But first test it after removing the verify statement. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
And from the fine manual, the definition of ALPHA
Quote: |
ALPHA The variable must contain only lowercase or uppercase alphabetic characters (A-Z, a-z, #, $, or @). Blanks are not allowed. |
|
|
Back to top |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
Is there any option of using underscore along with alpha,num in the verify statement |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What do you think ? |
|
Back to top |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
ok sorry.. i got it. i controlled through the program itself |
|
Back to top |
|
|
|