PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming textbox question

Reply

textbox question

 
Thread Tools Rate Thread
Old 30-06-2003, 07:03 PM   #1
Greg Smith
Guest
 
Posts: n/a
Default textbox question


I have a text box that allows a user to type in the phone
number from their site. Is there a way to make it only
allow numbers only? I have played with the advanced
properties and changed the default values but it does not
matter what the user puts in...
  Reply With Quote
Old 01-07-2003, 05:04 PM   #2
reed
Guest
 
Posts: n/a
Default Re: textbox question

Write a script that executes when the field is modified.
Sub Item_CustomPropertyChange(ByVal Name) ''A field changed, figure out
which one and deal with it.

Select Case Name

Case "MyNumberField" 'It changed now do something

.....



"Greg Smith" <none@none.com> wrote in message news:037c01c
33f3a$590b4630$a101280a@phx.gbl...
> I have a text box that allows a user to type in the phone
> number from their site. Is there a way to make it only
> allow numbers only? I have played with the advanced
> properties and changed the default values but it does not
> matter what the user puts in...



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off