• Resolved PB

    (@ohtusabes)


    Hello @codepeople,

    I would like to receive the GDPR value using the corresponding tag <%fieldname5_value%> in the Email settings. However, it appears to be returning empty. Could you please advise on how to resolve this?

    Thank you in advance.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author CodePeople2

    (@codepeople2)

    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!

    Plugin Author CodePeople2

    (@codepeople2)

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.