<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2723.2500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial" bgColor=#ffffff>
<DIV><FONT size=2>In the 'phone number' box you type in any legitimate phone
number (8375260421), and it automaticly inserts the dashes between the fields,
using a canonical phone template ###-###-####. If you type too many
digits, or a non-numeric character which doesn't match the syntax, it gooses you
or throws it away if it is a redundant delimeter. Obviously the same
mechanism could be generalized to dates using slashes, providing that the regexp
masks are changed accordingly.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Ditto with the toll-free field, except in this example only
800 and 888 prefixes are accepted. Again, this was only a
prototype.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Does that explain it?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>-- Dave Lovering</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=christ@saeweb.com href="mailto:christ@saeweb.com">Chris Tifer</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">[JavaScript List]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, March 24, 2003 12:21
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] Javascript or
ASP.Net - Input Mask for Text BoxthenAuto Tab</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>I just tested this and it alerts me every time I try to
press a key. What's allowed with this script?</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dlovering@gazos.com href="mailto:dlovering@gazos.com">David
Lovering</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">[JavaScript List]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, March 24, 2003 2:14
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] Javascript or
ASP.Net - Input Mask for Text Box thenAuto Tab</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>A piece of cake. I did a similar "dynamic filter"
for phone numbers and toll-free numbers a while back, and I'm enclosing the
code I did it with. If you speak 'reg-ex' the masks themselves should
be self-explanatory, and if not, drop me a line and we'll over it in
detail. [The thing is semi-customized for IE6+, but it wouldn't take
much to make it viable under Netscape].</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>-- Dave Lovering</FONT></DIV>
<DIV><FONT size=2>-- <A
href="mailto:dlovering@gazos.com">dlovering@gazos.com</A></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=binklt@sosmail.state.mo.us
href="mailto:binklt@sosmail.state.mo.us">Binkley, Tammi</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:'javascript@LaTech.edu'">'javascript@LaTech.edu'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, March 24, 2003 10:46
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] Javascript or
ASP.Net - Input Mask for Text Box then Auto Tab</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=375075017-24032003><FONT size=2>Using ASP.Net, I'm trying
to add an input mask to several Text Boxes which are date fields. We
want the date to appear "mm/dd/yyyy" in which the user would only enter
the actual numbers and the input mask would insert the "/". Once
this is achieved the function should auto tab to the next field. I
actually have a function for the auto tab which works perfectly for
ASP.Net, I am however, having a hard time figuring out how to insert the
"/" into the field. Any suggestions?</FONT></SPAN></DIV>
<P><B><I><FONT face="Comic Sans MS" color=#800000>Tammi
Binkley</FONT></I></B> <BR><FONT face="Comic Sans MS"
color=#800000>Information Technology</FONT> <BR><FONT face="Comic Sans MS"
color=#800000>Missouri Secretary of State Office</FONT> <BR><FONT
face="Comic Sans MS" color=#800000>600 West Main Street</FONT> <BR><FONT
face="Comic Sans MS" color=#800000>Jefferson City, MO 65101</FONT>
<BR><B><FONT face="Comic Sans MS" color=#800000>573-526-1242</FONT></B>
<BR><B><FONT face="Comic Sans MS"
color=#800000>binklt@sosmail.state.mo.us</FONT></B> </P>
<DIV> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Javascript
mailing
list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Javascript mailing
list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Javascript mailing
list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE></BODY></HTML>