Forum
Set defaults on time field
Is there a way to control the default time displayed on a time field?
I have the following code:
<perch:content id="time" type="time" label="Time" format="g:ia" order="3" />
In admin, the time defaults to that of the server (I assume it is the server but it could be the local computer time) but I would like it to default to say 00:00
Thanks, Andy
Have you tried using the
default
attribute?Hi Drew,
I have now and that works!
Thanks :)