I am not able to find a solution out of this code.
I want to get rid of option 1(POST_EMAILOPTION_HIDE) & option 3 (POST_EMAILOPTION_SHOW) option and leave the option 2 (EMAIL_USEFORM) as default.
<table border="0" cellspacing="1" cellpadding="0">
<tr>
<td><input name="showemail" type="hidden" value="0" <?php if($data['showemail']==EMAIL_HIDE) echo "checked"; ?>></td>
<td><?php echo $lang['POST_EMAILOPTION_HIDE']; ?></td>
</tr>
<tr>
<td><input name="showemail" type="radio" value="2" <?php if(!is_string($data['showemail']) || $data['showemail']==EMAIL_USEFORM) echo "checked"; ?>></td>
<td><?php echo $lang['POST_EMAILOPTION_USEFORM']; ?></td>
</tr>
<tr>
<td><input name="showemail" type="hidden" value="1" <?php if($data['showemail']==EMAIL_SHOW) echo "checked"; ?>> </td>
<td><?php echo $lang['POST_EMAILOPTION_SHOW']; ?></td>
</tr>
</table>
can someone help me on this?
cheers
dave