Forums

how to hide titles for empty data fields?

bob1138 15 Feb, 2008
hello again,

So I'm doing a form where everyone will enter contact information then some will fill out one part then submit and others would fill out a different part then submit.

My question is: Is it possible to not display the title of the data fields that are left empty on the "thank you" form that I am having people print and sign then mailed and also removed from the email?

Thanks for all the help, chronoform has done everything i've needed it to do!<br><br>Post edited by: bob1138, at: 2008/02/15 03:22
GreyHead 15 Feb, 2008
Hi bob1138,

Yes, you;ll need a little php in the page code:
<?php
if ( $_POST['field_name'] != "" ) {
  echo "Field Name: ".$_POST['field_name']."<br />";
}
?>
Bob
This topic is locked and no more replies can be posted.