I have created a custom Date Class to handle bigger date and date from different calendar. I would like to get date input from the user.The default DateField can't be used in this scenario since it can't handle big dates. So I would like to use the TextField instead.How ever, he existing constraints are not enough to constrain a date input like dd/mm/yyyy. can i create a custom input mask or any thing to constrain the DateField to accept only dd/mm/yyy ?
A:
- Are you postive the DateField cant handle bigger formats?
- Does J2me provide regular expressions, cuz that would definitely be the way to go for this.
AlvinfromDiaspar
2010-09-23 09:07:51
+1
A:
You can't create input mask for the TextField, the only way I could think of, is to create a custom component and handle the input yourself.
Or you could use three text fields beside each other and use NUMERIC constraint with maximum char size for each one.
Mahdi Hijazi
2010-09-23 16:26:38