I have a post-submission action on a form, which is setup like so:
add_action("gform_post_submission_2", "update_event", 10, 2);
function update_event($entry, $form) {
$str_with_iframe = $entry[3];
// $entry[3] has HTML stripped
}
The field with ID = 3 is a textarea "Paragraph Text" type.
If I enter something into the field and submit the form, like:
<iframe src="http://example.com/"></iframe>
<a href="http://example.com">Visit the site</a>
From within the post submission hook, the content of $entry[3] is merely
Visit the site
with all HTML tags stripped.
How can I avoid these tags from being stripped in this manner?
Edit: I am using Gravity Forms v1.6.2.1.1.