3
I am a beginner in Kohana and need to make a form with a date field. My form is this:
<?=form::open('controllerInscricao/index')?>
<?php echo form::select('TURMA_codturma', $TURMA_codturma); ?> <br><br>
<div>Matricula: <?=form::input('ALUNO_MATRICULA' );?></div>
<div>Data: </div>
<?php echo '<div'.HTML::attributes($attrs).'>'.$content.'</div>'; ?>
<?=form::submit('btn_submit', 'Salvar') ?>
<?=form::close()?>
How to make a txt field in DD/MM/YYYY format ?
Vacant. You want a text field with the format
DD/MM/YYYY
, a field for each day month year, or a select?– Papa Charlie
A text field with DD/MM/YYYY format, forgot to specify.
– Jeferson Leonardo
In this case it is a common input, but the filter for
DD/MM/YYYY
should be done by the JS.– Papa Charlie