input mask

  • Thread starter Thread starter seeker4
  • Start date Start date
S

seeker4

My input mask for a phone number -- 000\-0000 (316);0;_
does not allow the user to change the 316 if they desire.
The user wants the 316 to be there by default but want to
change it if they need to. How can the input mask be
writtne to allow for this flexibility?

seeker4
 
Forgive me if I am completely wrong, but I thought that
any default went in the "default" setting of properties
rather than in the mask. If you set a "default" property,
you can still change it.
 
This is true but a default does not work as an input mask,
i.e. overwrite what appears in the textbox. The user
wants things to work with the least amount of effort on
his part.

seeker4
 
The best solution that I see is to have two fields in the table and two input
boxes on the form. One for the area code (with a default of 316) and the other
for the Phone number.

Another option is one field, but two input boxes. If you do this, you will have
to have code to split and combine the parts at the appropriate times.
 
Back
Top