Answer email adds space between lines

christallo , January 09 2016

Hi - my automatic answer email when a user fills a formular has lots of space between the lines.
I tried to change the html from the table design to simple line breaks with <br /> and it still adds 3 lines of space.

And by the way: it also adds &ndash; tags out of nothing.....

Here's my code:

				<strong>Kongress Anmeldung</strong>
<p>Verbindliche Anmeldung zum Jahreskongress des BDG vom 8. bis 10. April 2016 in Hannover (regul&auml;r 100,- Euro / Studenten 50,- Euro)</p>

<p>Kongressgeb&uuml;hren<br /> 100,00.- Euro Kongress<br /> 50,00.- Euro Studierende<br /> 10,00.- Euro pro Workshop (bitte unten ankreuzen)<br /> Bei Anmeldung ab dem 22. M&auml;rz 2016 erh&ouml;hen sich die Preise um jeweils 10,00 Euro (Datum des Poststempels). Bei Absage bis eine Woche vor dem Kongress auf Antrag 100%, danach nur 50% Erstattung der Kongressgeb&uuml;hr.<br /> Tageskarten sind nur im Kongressb&uuml;ro erh&auml;ltlich.<br /><br /> Workshop Anmeldung (10,00.- Euro pro Workshop/Teilnehmer)<br /> Workshop I: patience, patience, patience <br /> &Uuml;bungsprogramme aus der Complete Vocal Technique (CVT) 10:00 11:30 12:00 13:30<br /> Workshop II: Barocke Gestik: Du darfst! 10:00 11:30 12:00 13:30<br /> Workshop III: Spielen, k&auml;mpfen, durchdringen, ordnen und vernetzen. <br /> Die &Uuml;bestrategien der F&uuml;nf Archetypen 10:00 11:30 12:00 13:30<br /> Workshop IV: Entspannung &uuml;ben und kultivieren: Yoga f&uuml;r S&auml;nger (nicht im Hochschulgeb&auml;ude; Limit: 20 Pl&auml;tze) 10:00 11:30 12:00 13:30<br /> 9. April 2016 in der Mensa der Hochschule f&uuml;r 5,00 Euro pro Person (ohne Getr&auml;nk)</p>

{input_text_2_name}<br />
{input_text_3_vorname}<br />
<strong>Strasse und Hausnummer:</strong>
{input_text_4_strasse_nummer}<br />
{input_text_5_plz}<br />
{input_text_6_ort}<br />
{input_text_7_land}<br />
{input_text_8_telefon}<br />
<strong>E-mail Adresse:</strong>
{email}<br />
Ja, ich nehme am Kongress teil und nehme den Hinweis zur Kenntnis:<br />
{input_radio_10_anmeldung}<br />
<strong>BDG/EVTA Mitglied:</strong>
{input_radio_11_bdg_mitglied}<br />
<strong>BDG Mitgliedsnummer: </strong>
{input_text_12_mitgliedsnummer}<br /><br />
Zus&auml;tzliche Anmeldung zum Workshop WS I am Freitag (10,- &euro;):<br />
<strong>WS I</strong>
{input_radio_14_ws_1}<br />
Zus&auml;tzliche Anmeldung zum Workshop WS II am Freitag (10,- &euro;):<br />
<strong>WS II</strong>
{input_radio_17_ws_2}<br />
Zus&auml;tzliche Anmeldung zum Workshop WS III am Freitag (10,- &euro;):<br />
<strong>WS III</strong>
{input_radio_18_ws_3}<br />
Zus&auml;tzliche Anmeldung zum Workshop WS IV am Freitag (10,- &euro;):<br />
<strong>Workshop IV</strong>
{input_radio_32}<br /><br />
Anmeldung zum Mittagessen Samstag pro Person ohne Getr&auml;nk 5 &euro;:<br />
{input_radio_37}<br />
<strong>Mittagsbuffet Anzahl:</strong>
{input_text_20_mittagsbuffet}<br />
Ich bezahle den Gesamtbetrag in H&ouml;he von:<br />
{input_text_21_gesamtbetrag}<br />
{input_radio_22}<br />
Per &Uuml;berweisung BDG e.V.; IBAN: DE 6826 5700 2400 1658 1100; BIC: DEUTDEDB265; Institut: Deutsche Bank Per Lastschrift (nur bei vorliegender Einzugserm&auml;chtigung m&ouml;glich)
<strong>Bundesverband Deutscher Gesangsp&auml;dagogen<br /></strong><br />
&nbsp;<br />

And that's, what shows up as email on different systems, email accounts, etc.:

Bildschirmfoto 2016-01-09 um 10.27.03.jpg
Bildschirmfoto 2016-01-09 um 10.27.03.jpg
(351.63 KiB)
251 Downloads/Views

Hi christallo,

I'm guessing here that you may be using the Rich Text Editor to edit the template and you are ending up with a lot of extra HTML - all of the line breaks in your template are being converted into new-lines in the email.

ChronoForms is pretty basic - it doesn't normally add extra line breaks or convert dashes.It just saves and uses the HTML it is given.



Thanks Bob, but I'm using just the plain html editor - no rich editor - and I just put the code from above with just a <br /> for one line break and the result in the email are 3 line breaks.
And there's no difference between using a table (like with chronoforms auto generate) or using just <br />. The output is the same

There must be a command which adds line breaks after a chronoforms field like {input_text_21_gesamtbetrag}.... Is this possible?



Hi chris,

No, there's nothing I know of in ChronoForms to do that. Please take a Form Backup using the icon in the Forms Manager and post it here and I'll take a closer look.



Thx Bob - here's the backup.
By the way: now the mail ignores the <br /> tag and the text comes in one paragraph...would it work with the basic line break <br>?

Private content
The content here is visible only for authorized users.


Hi Chris,

You have the Email action set to Send As Text - if you switch that to HTML then the HTML works OK.



Thanks for this...

Powered by ChronoForums -

ChronoForms Book

The ChronoForms Book, written for ChronoForms v3 contains 350 pages of invaluable ChronoForms How-tos hints and tips.

Note: many of the ideas can be used in ChronoForms v4 but the admin interface is very different and code examples may need to be modified.


Members Login Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by