How do I create an input mask (eg:phone) for a FrontPage form?

How do I create an input mask (eg:phone) for a FrontPage form?

am 23.04.2008 12:53:04 von BarryB00

I am creating a web form for parents to fill in that will be used to populate
a .csv file. The data will be collected in a text file, tab delimited. Even
though the phone data must be entered into one field, I would like all the
phone numbers to be in the form (999) 999-9999. In Access I could use an
input mask, and the punctuation and spaces would appear automatically. How
can I accomplish this in Front Page?

RE: How do I create an input mask (eg:phone) for a FrontPage form?

am 23.04.2008 15:36:02 von DanL

If you tell users that the format is (999) 999-9999 then when they enter that
into the form the form will save it in that format to the csv file. The only
problem is if they *don't* enter it in that format the saved result will be
in the wrong format.

"BarryB00" wrote:

> I am creating a web form for parents to fill in that will be used to populate
> a .csv file. The data will be collected in a text file, tab delimited. Even
> though the phone data must be entered into one field, I would like all the
> phone numbers to be in the form (999) 999-9999. In Access I could use an
> input mask, and the punctuation and spaces would appear automatically. How
> can I accomplish this in Front Page?

Re: How do I create an input mask (eg:phone) for a FrontPage form?

am 23.04.2008 15:37:03 von Mark Fitzpatrick

Input masks are much harder because HTML doesn't have them. You have to use
JavaScript to do it. There are plenty of free scripts to handle this and the
best sites to search are javascript.internet.com and www.dynamicdrive.com

Here's another good site as well:
http://www.webresourcesdepot.com/javascript-input-masks/

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"BarryB00" wrote in message
news:7273AAF2-BC5E-456E-9D65-D65736A2642F@microsoft.com...
>I am creating a web form for parents to fill in that will be used to
>populate
> a .csv file. The data will be collected in a text file, tab delimited.
> Even
> though the phone data must be entered into one field, I would like all the
> phone numbers to be in the form (999) 999-9999. In Access I could use an
> input mask, and the punctuation and spaces would appear automatically. How
> can I accomplish this in Front Page?