Buy Now
Sign in

The Formatted Text element in CFv4

dsimonse , December 27 2017
D
dsimonse
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
Attachments
cfv4_preview.PNG
cfv4_preview.PNG
(82.75 KiB)
85 Downloads/Views
cfv4_template.PNG
cfv4_template.PNG
(59.01 KiB)
70 Downloads/Views
cfv5_preview.PNG
cfv5_preview.PNG
(55.51 KiB)
100 Downloads/Views
cfv5_template.PNG
cfv5_template.PNG
(68.98 KiB)
89 Downloads/Views
GreyHead
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
D
dsimonse
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
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
D
dsimonse
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
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
D
dsimonse
Hi Bob,

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

Dennis
GreyHead
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much