U can use javacript writing the logic in onblur, which acts some thing like
lostfocus in any GUI
-----Original Message-----
From: Harkishin Nachnani [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 23, 2000 5:32 PM
To: [EMAIL PROTECTED]
Subject: Formatting text
Hi all:
To ease the date entry, I need to format the numbers so that
the
customer doesn't need to enter the dashes and brackets.
1) XXXX-XXXX-X
2) (XXX) XXX-XXXX
So I want the customer to enter just the numbers and when he
presses
tab, the text field changes to the desired format. How
should I do this
???
Thanks in advance,
Harkishin
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body
of the message "signoff SERVLET-INTEREST".
Archives:
http://archives.java.sun.com/archives/servlet-interest.html
Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html