| | |
|
|
|
not passing blank entries in formmail..... |
| message from msa on 14 Jul 2004 |
can you program the email sent from a form to disregard elements that are
blank (both the title and the form element)?
<tr>
<td > </td>
<td class="item" >AtriCure - With AtriCure, Transmurality is
proven...100% (4 pages): </td>
<td class="number"><?php echo
((isset($_POST["brochAC4"]))?$_POST["brochAC4"]:"")?></td>
</tr>
<tr>
<td> </td>
<td class="item">AtriCure - Isolator Long (1 page): </td>
<td class="number"><?php echo
((isset($_POST["brochAC1"]))?$_POST["brochAC1"]:"")?></td>
</tr>
<tr>
<td> </td>
<td class="item">AtriCure Spec Sheet - Isolator and Isolator Long:
</td>
<td class="number"><?php echo
((isset($_POST["brochACSpec"]))?$_POST["brochACSpec"]:"")></td>
</tr>
I would want the entire <tr> not to show if the text box input is blank.
Is this possible?
Thanks!!
|
| Gary White replied to msa on 19 Jul 2004 |
<?php if (isset($_POST["brochAC4"])){ ?>
<?php
}
if (isset($_POST["brochAC1"])){
?>
<?php }
if (isset($_POST["brochACSpec"])){
?>
<?php } ?>
Gary
|
| Gary White replied to Gary White on 19 Jul 2004 |
You're welcome.
Gary
|
|
Archived message: not passing blank entries in formmail..... (Macromedia Dreamweaver Web Design)