-
Touch Premium Member
Date value: new Date()
I'm trying to default the value of a Date Picker Field to today's date. In the value field, the validation will not pass other than m/d/y. I've tried a number of different ways to get around it, but have not been successful. Is there a way around it? known bug? special format that I have not tried yet? Thanks.
-
Sencha User
Work around to default new Date()
I use the evil command 'eval'
instead of the default value 'new Date()'
use
eval('new Date()')
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules