Hello,
I am using 1.5.26 with Chronoforms V3.1RC 5.2
Submit Form fields works. .
However, I'm finding that the email form still shows all empty fields like to remove them. That means: I want to remove an empty field from displaying on the email.
Hi ellifrech,
Is this just one or two empty fields or do you have many of them?
The version of ChronoForms you are using is now quite old. There are some threads here discussing this if you go far enough back. Basically, you need to pre-process the template code in the Custom Code Before Email box to only include the parts that you need.
Bob
Hi Sabrina,
Please post the Email Template HTML as well (or at least the part of it where there variables appear).
Bob
This is html code of mail template
<p><strong>Vorname</strong>: {text_3}<br />
<strong>Nachname: </strong> {text_1}<br />
<strong>Straße /Hausnr.</strong>: {text_4}<br />
<strong>PLZ / Wohnort</strong>: {text_5}<br />
<strong>Telefonnummer</strong>: {text_6}<br />
<strong>Faxnummer:</strong> {text_7}<br />
<strong>Mobil</strong>: {text_8}</p>
<p><strong>Mailadresse </strong> {text_16}</p>
<p><strong>Nachricht: </strong> {text_9}<br /> <br />
<strong>Kontaktaufnahme erwünscht per</strong> {radio0}<br /> <br /> {file_20}</p>
Is this helpful for You?
Hi,
many thanks!!!
It runs, but shows me just filled fields on my sreen.
But this is not what I really want.
I do not want to see not filled fields in e-Mail I receive.
Would You please tell me, where I have to make changes in mail.php?
Thank You and Kind Regards
Sabrina
Hi Sabrina,
Please read my last post again.
Bob
Now it works 😀
Many, many thanks!!!!!!!!!!!!!!!!!!!!!
Kind Regards
Sabrina