• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Limiting the i/p for Date/time in a MaskedTextfield

 
Meghna ks
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have a Maskedtextfield formatted to accept the Date & time Data type. Now, I'm already having some Date and Time set in the Text Field. Suppose, the user wants to keyin some Date and Time, I need to bring up a Calender from which the user can select the Date and Time
OR
How do I format my Textfield to accept Date & Time :
Right now the format is yyyy/mm/dd => So, how do I restrict the user's i/p to yyyy => 9999 max, mm => 12 max, 1 min , dd => 31 max and 1 min
Right now the format is hh/mm/ss/ms => So, how do I restrict the user's i/p to hr => 1min, 12 max, mm => 1min, 60max, ss => 1min, 60 max, ms => 1min and 60max.
I'd greatly appreciate your help. I'm a beginner here and I'd really need the inputs from you guys.
Thanks
Meghna

 
Meghna ks
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys
I'm still keeping my fingers crossed. Tried some stuff, but its not working yet.So, please fill me in with some inputs the moment you come up with something.
Thanks
Meghna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic