textbox question

G

Greg Smith

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...
 
R

reed

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

.....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top