0
I need that when $DsTpVeiculo
for Cavalo Truck o input
be filled and show a message asking to fill in, and if it is Truck or Bitruck should not be filled out showing a message either. Some message in JS.
Code:
<?php
if($DsTpVeiculo == 'Cavalo Truck'){ ?>
<td><input type="text" id="carreta" name="NrPlacaCarreta" value="<?php echo $NrPlacaCarreta; ?>"/></td>
<?php
}elseif($DsTpVeiculo == 'Bitruck' || $DsTpVeiculo == 'Truck'){ ?>
<td><input type="text" id="carreta" name="NrPlacaCarreta" value="<?php echo $NrPlacaCarreta; ?>"/></td>
<?php
}
?>