I'm creating a form that contains a field whose data type is DATE, where I want a given value to be returned by default. But there is nothing I can do to make it happen. My code is this:
<?php $ini = date('d-m-Y'); ?>
<form id="form1" name="form1" method="post" action="">
<label for="inicio" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color:#666666;">
De</label> <input type="date" name="date_form" id="inicio" size="7" value="<?php echo $ini; ?>" />
a
<label for="label">Fim</label>
<input type="text" name="textfield2" id="label" />
</form>