By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,056 Members | 1,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,056 IT Pros & Developers. It's quick & easy.

locking the default value of a text box

P: 250
i have a text box on my form and a default value set to "09-" obviously for the current year... there will then be a four digit number entered afterwards... i wanted to know if it is possible to lock that "09-" so it cannot be changed in the form but i can still add the four digit number afterwards... thank you!
Feb 4 '09 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 1,287
Use an input mask and the escape character "\" in front of the 0,9,-. Something like
should work.
More info: Customize input masks
Feb 4 '09 #2

P: 250
thanks for that...very interesting information... much appreciated
Feb 4 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.