The Formatted Text element in CFv4

dsimonse 27 Dec, 2017
Hi,

I need to adress this issue again.

In CFv4 the Formatted text element shows up in the preview, is generated in the template and sent in the email.
In CFv5 the Custom element does not show up in the Design-view, nor generated in the template or sent in the email.

Is there a way to get the Formattet text element behaviour/functionallity in CFv5 (orCFv6)?

Regards
Dennis
GreyHead 02 Jan, 2018
Hi Dennis,

I don't think that a formatted text element in the Designer tab is carried over to the Submit event in either version. You could just add the same HTML to the email template?

Bob
dsimonse 03 Jan, 2018
Hi Bob,

Well I tried that ...

I have this email template:

<table>
<tr><td>Namn</td><td>{namn}</td></tr>
<tr><td>Mejladress</td><td>{Epost}</td></tr>
<tr><td>Adress</td><td>{adress}</td></tr>
<tr><td>Postadress</td><td>{postadress}</td></tr>
<tr><td>Telefon</td><td>{telefon}</td></tr>
<tr><td>Personnummer</td><td>{personnr}</td></tr>
<tr><td></td><td>{custom}</td></tr>
<tr><td>Kurser</td><td>{input_select_9}</td></tr>
<tr><td>Kommentarer</td><td>{comments}</td></tr>
<tr><td></td><td>{custom}</td></tr>
</table>

And I paste this where the first {custom} tag is or the <td></td> before that but it just won't save it:

<p>Välkommen till RoJ's vårkurser 2018 för ungdomar mellan 9-15år! De kommer att hållas kvällstid på torsdagar 18:00-21:00. Startdatum är inte fastställt ännu men den yngre gruppen kör mellan 18:00-19:15 och den äldre mellan 19:30-21:00. Kostnaden per ungdom är 500kr + medlemsavgift i RoJ. Anmälan är bindande och avgiften ska vara betald senast 2 veckor innan start, annars släpps platsen fri till köplatserna. Plats erhållen via köplats skall vara betald senast 1 vecka innan start. Utebliven betalning betyder förlorad plats.</p>
GreyHead 03 Jan, 2018
Hi dsimonse ,

I can’t see any obvious reason why that would not be saved.

Do you have Auto-generation turned on for the template?

If you replace <tr><td></td><td>{custom}</td></tr> with <tr><td></td><td>xxxx</td></tr> does that save OK?

Bob
dsimonse 03 Jan, 2018
Hi Bob,

Yes I have autogeneration turned on.

Putting the text were you suggested didn't help.

Disabling autogeneration made the save work. But the text isn't visible in designer.

//Dennis
GreyHead 04 Jan, 2018
Hi Dennis,

If you have Autogeneration on then any custom code in the Email template will be over-written when you save the form.

You need to have a second copy of the text in the Designer tab if you want to show it there too.

Bob
dsimonse 04 Jan, 2018
Hi Bob,

Could you explain a bit more what you mean with "second copy"?

Dennis
GreyHead 05 Jan, 2018
Hi Dennis,

Your Custom HTML isn’t automatically transferred with the form data from the On Load event to the On Submit event. So if you want it in both plaves you need to add it in both places.

Bob
This topic is locked and no more replies can be posted.