Thanks for any pointers you may be able to offer.
I use a php script to build a summary table of a users payments.
It is stored in a textarea, using: $result = GFAPI::update_entry_field( $entry_id, ‘47’, $registrantPaymentSummaryTable);
However when send an email with the tag merged, I get this:
Escaping any HTML saved in a user input field is expected, and is to prevent security problems. But you could try to store the HTML you generate in a Paragraph Text field with the “Use the Rich Text Editor” option enabled, and the field visibility set to Administrative. That may work.
Thanks a lot for thinking about this.
I just got a response from support.
Storing the HTML in a field like that will not work, because Gravity Forms will encode anything that looks like HTML before saving the entry. You can use a merge tag modifier ‘decode’ to decode those special characters. See the documentation here: