Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using html how do you mask a text box? 1

Status
Not open for further replies.

sharonchapman7

Programmer
Aug 31, 2011
45
US
hi,
Sorry I forgot to put the subject on my last post. I'm using Visual Basic as my language with server side scripting. I have two fields, a date and phone field that I would like to put masks on? Can you tell me how I can do this or if it is possible?

Thanks,
Sharon
 
You can't do it directly with HTML, as there is no masking attribute for a text element.

You can apply Javascript to the input and have it mask it, or you can try to do it from VB.

Since the question is out of then scope of this forum, I suggest you post in forum216 or forum796.

It should not be to difficult to do in JS.


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top