Hello @ohtusabes
fieldname5 in your form is not the GDPR field; it is an HTML Content control, and the HTML Content fields are not submitted to the server. In your form, the GDPR field is the fieldname4. So, you must use the <%fieldname4_value%>
tag.
Best regards.
Thread Starter
PB
(@ohtusabes)
Hello @codepeople2
Yes, you’re right — my apologies for the oversight.
That said, is there a way to submit the HTML field as part of the form submission?
Thanks again!
Hello @ohtusabes
In this case, you must capture the content of the “HTML Content” field with a submittable control. For example, you can generate the HTML structure with another control like a calculated field, and display the result in the HTML Content field. At the end, the field’s tag you insert in the notification email is for the calculated field.
For example, you can insert a calculated field in the form (fieldname123), configured as hidden, and enter an equation similar to:
<p>Your name is ${fieldname1} and email ${fieldname2}</p>
In the HTML Content field, you can insert a DIV tag with the data-cff-field
attribute
<div data-cff-field="fieldname123"></div>
Finally, in the email content, you should insert the calculated field’s tag <%fieldname123_value%>
We have responded to this question in your other support threads.
Best regards.
Thread Starter
PB
(@ohtusabes)
Hello @codepeople2,
Please accept my apologies, as I have very limited knowledge of HTML or JavaScript, and I might repeat questions without realizing it.
Thank you very much!