I created a table with 2 input type radio
, where one receives the value="Ok"
and the other the value="Não Ok"
and immediately ahead a column of observation.
$tabela1 .= '<td style="float:center"> <input type="radio" name= "Sim['.$y.']" value="Ok" required></td>';
$tabela1 .= '<td style="float:center"> <input type="radio" name= "Sim['.$y.']" value="Não Ok" required></td>';
$tabela1 .= '<td> <textarea type="text" class= "Observacao" name="Observacao['.$y.']" rows="2" cols="30"></textarea></td>';
The inputs type radio
are required. Now I always wanted the input type radio
to receive the value="Não Ok"
, to compile the input
of the observation, but only to oblige in that situation.