Código PHP:
<input name="sam" type="text" id="sam" value="<? echo $data->sam; ?>" size="14" maxlength="14" style="background:#ffffff" onFocus="encender(this)" onBlur="apagar(this)" validation="numeric" validationhint="required" validationmsg="El campo SAM es de tipo numerico y obligatorio" onKeyPress="return tabular(event,this)">
<select name="consolidar" id="consolidar" style="background:#ffffff" validation="empty" validationhint="required" validationmsg="El campo Consolidar es de tipo obligatorio" onFocus="encender(this)" onBlur="apagar(this)" onkeypress="return tabular(event,this)">
<option value="S" <?php if($data->consolidar == "S") echo "selected"; ?>>SI</option>
<option value="N" <?php if($data->consolidar == "N") echo "selected"; ?>>NO</option></select>
Código PHP:
<input name="mo" type="checkbox" id="mo" value="MO" style="background:#ffffff" onFocus="encender(this)" onBlur="apagar(this)" onKeyPress="return tabular(event,this)">MO