View Single Post
  #1 (permalink)  
Old June 29th, 2012, 08:04 AM
wimr wimr is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default dijit.form.DateTextBox

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.