Input Mask on DAP

K

Karen D.

How do I create an input mask for a phone number text box on a data access
page? I know how to accomplish this task in both tables and forms, but
cannot figure it out in pages.

Thanks!
 
S

Sylvain Lafontaine

As you already know by now, you cannot use the DAP Wizard to set or create
an Input Mask for a DAP page; so you will have to create your own piece of
code using using Javascript or VBScript. However, even if not impossible,
this won't be an easy task and requires a very good knowledge of both
Javascript or VBScript and DHTML.

For example of script, see
http://www.codeproject.com/jscript/Form_field_input_mask.asp or search
Google with something like « Javascript Input Mask »

Also, even with the correct piece of code, you'll still have to integrate it
inside your DAP page; which is something that won't be easy.
 
Top