How do I fill an initial date in the DateTextBox?
Code:
Code:
<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.