p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Concise Guide to Dojo ISBN: 978-0-470-45202-8 (http://p2p.wrox.com/book-concise-guide-dojo-isbn-978-0-470-45202-8-431/)
-   -   dijit.form.DateTextBox (http://p2p.wrox.com/book-concise-guide-dojo-isbn-978-0-470-45202-8/87881-dijit-form-datetextbox.html)

wimr June 29th, 2012 08:04 AM

How do I fill an initial date in the DateTextBox?

<label for="startdate">Begindatum</label>               
<input type="text" name="startdate" id="startdate" value="01-07-2012" trim="1" dojoType="dijit.form.DateTextBox" promptMessage="Begindatum van de prijsperiode" invalidMessage="Onjuiste datum" required="true" />

At first the datefield is filled with the value (I notice if I've a javascript error), but the end result is a blank field.

Googling and lots of trying did not help me, and this should not be so difficult.

All times are GMT -4. The time now is 04:04 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.