<div class='field' > <label>Nome paciente</label> <input type="hidden" value="<?php echo $id; ?> " id='hidId' /> <input type="hidden" value="1" id='hidTipoConta' /> <input type='text' id='txtNome' value='<?php echo $consulta->getNome(); ?> ' size='50' onkeypress="mascara(this,maiusculo)" /> </div> <div class='field'> <label>Data</label> <input type='text' id='txtData' value='<?php echo $consulta->getData(); ?> ' size='30' maxlength="10" style='text-align: right;' /> </div> <div class='field'> <label>Hora</label> <input type='text' id='txtHora' value='<?php echo $consulta->getHora(); ?> ' size='30' maxlength="5" onkeypress="mascara(this,hora)" style='text-align: right;' /> </div> <div class='field'> <label>Medico</label> <select id='selMedico' >