F
FrontPage Novice
I used the following script from Microsoft for logon.inc:
' This function restricts text to alpha-numeric data only.
Function ParseText(TXT)
Dim intPos, strText, intText
For intPos = 1 TO Len(TXT)
intText = Asc(Mid(TXT,intPos,1))
If (intText > 47 And intText < 59) Or _
(intText > 64 And intText < 91) Or _
(intText > 96 And intText < 123) Then
strText = strText & Mid(TXT,intPos,1)
End if
Next
ParseText = strText
End Function
I want to be able to use e-mail addresses for usernames. Does anyone have a
script that will allow e-mail addresses (and all characters)? No Constraints
is selected for the username field, but the script above will not allow
characters. Can anyone help me with this?
' This function restricts text to alpha-numeric data only.
Function ParseText(TXT)
Dim intPos, strText, intText
For intPos = 1 TO Len(TXT)
intText = Asc(Mid(TXT,intPos,1))
If (intText > 47 And intText < 59) Or _
(intText > 64 And intText < 91) Or _
(intText > 96 And intText < 123) Then
strText = strText & Mid(TXT,intPos,1)
End if
Next
ParseText = strText
End Function
I want to be able to use e-mail addresses for usernames. Does anyone have a
script that will allow e-mail addresses (and all characters)? No Constraints
is selected for the username field, but the script above will not allow
characters. Can anyone help me with this?