Forums

Answer email adds space between lines

christallo 09 Jan, 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 – 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är 100,- Euro / Studenten 50,- Euro)</p>


<p>Kongressgebü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ärz 2016 erhö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ühr.<br /> Tageskarten sind nur im Kongressbüro erhältlich.<br /><br /> Workshop Anmeldung (10,00.- Euro pro Workshop/Teilnehmer)<br /> Workshop I: patience, patience, patience <br /> Ü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ämpfen, durchdringen, ordnen und vernetzen. <br /> Die Übestrategien der Fünf Archetypen 10:00 11:30 12:00 13:30<br /> Workshop IV: Entspannung üben und kultivieren: Yoga für Sänger (nicht im Hochschulgebäude; Limit: 20 Plätze) 10:00 11:30 12:00 13:30<br /> 9. April 2016 in der Mensa der Hochschule für 5,00 Euro pro Person (ohne Getränk)</p>

<strong>Name:</strong>
{input_text_2_name}<br />
<strong>Vorname:</strong>
{input_text_3_vorname}<br />
<strong>Strasse und Hausnummer:</strong>
{input_text_4_strasse_nummer}<br />
<strong>PLZ:</strong>
{input_text_5_plz}<br />
<strong>Ort:</strong>
{input_text_6_ort}<br />
<strong>Land:</strong>
{input_text_7_land}<br />
<strong>Telefonnummer:</strong>
{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 />
<strong>Anmeldebestätigung:</strong>
{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ätzliche Anmeldung zum Workshop WS I am Freitag (10,- €):<br />
<strong>WS I</strong>
{input_radio_14_ws_1}<br />
Zusätzliche Anmeldung zum Workshop WS II am Freitag (10,- €):<br />
<strong>WS II</strong>
{input_radio_17_ws_2}<br />
Zusätzliche Anmeldung zum Workshop WS III am Freitag (10,- €):<br />
<strong>WS III</strong>
{input_radio_18_ws_3}<br />
Zusätzliche Anmeldung zum Workshop WS IV am Freitag (10,- €):<br />
<strong>Workshop IV</strong>
{input_radio_32}<br /><br />
Anmeldung zum Mittagessen Samstag pro Person ohne Getränk 5 €:<br />
<strong>Mittagessen</strong>
{input_radio_37}<br />
<strong>Mittagsbuffet Anzahl:</strong>
{input_text_20_mittagsbuffet}<br />
Ich bezahle den Gesamtbetrag in Höhe von:<br />
<strong>Gesamtbetrag:</strong>
{input_text_21_gesamtbetrag}<br />
<strong>Zahlungsart:</strong>
{input_radio_22}<br />
Per Überweisung BDG e.V.; IBAN: DE 6826 5700 2400 1658 1100; BIC: DEUTDEDB265; Institut: Deutsche Bank Per Lastschrift (nur bei vorliegender Einzugsermächtigung möglich)
<strong>Bundesverband Deutscher Gesangspädagogen<br /></strong><br />
 <br />


And that's, what shows up as email on different systems, email accounts, etc.:
GreyHead 09 Jan, 2016
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.

Bob
christallo 09 Jan, 2016
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?

chris
GreyHead 09 Jan, 2016
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.

Bob
christallo 11 Jan, 2016
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>?
GreyHead 12 Jan, 2016
Answer
Hi Chris,

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

Bob
christallo 12 Jan, 2016
:roll:
Thanks for this...
This topic is locked and no more replies can be posted.