It looks like you're new here. If you want to get involved, click one of these buttons!
function form_fields()
{
//...
$fields["shift-$i-start-date"] = array(
'label' => "Shift $i Start",
'type' => 'date',
'value' => $startdate,
'data-shift-id' => $i,
);
//...
}
Comments