Further testing...

This works - the datepicker *appears*:

  <body onload={PikadayControl.init date_nid}>
    <form>
      <textbox{#DateField} id={date_nid}/><br/>
      Name: <textbox{#NameField} />
      <submit action={add_thing} value="Add !"/>
    </form>
  </body>

This doesn't work (after adding a string "Date: " before the Date field) -
the datepicker *doesn't* appear:

  <body onload={PikadayControl.init date_nid}>
    <form>
      Date: <textbox{#DateField} id={date_nid}/><br/>
      Name: <textbox{#NameField} />
      <submit action={add_thing} value="Add !"/>
    </form>
  </body>

So it seems that the datepicker appears only when the Date field is the
*first* element inside the <form>.

Thanks for any ideas on why this is happening!

###
_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to