<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: adding markdown to a textarea</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-markdown-to-a-textarea</link>
		<description>Gravity Support Forums Topic: adding markdown to a textarea</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:20:53 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/adding-markdown-to-a-textarea" rel="self" type="application/rss+xml" />

		<item>
			<title>shamguy4 on "adding markdown to a textarea"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-markdown-to-a-textarea#post-206947</link>
			<pubDate>Fri, 12 Apr 2013 09:51:33 +0000</pubDate>
			<dc:creator>shamguy4</dc:creator>
			<guid isPermaLink="false">206947@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;how can I use the hook for before submitting a form, to get each textarea individually and apply a function to it?&#60;br /&#62;
ive been working with this:&#60;br /&#62;
i need some sort of for each loop to grab each one and then apply the markdown before submission.&#60;br /&#62;
also... is there a way to add a media button to a textarea?&#60;/p&#62;
&#60;p&#62;add_action(&#34;gform_pre_submission&#34;, &#34;pre_submission_handler&#34;);&#60;/p&#62;
&#60;p&#62;function pre_submission_handler($form){&#60;br /&#62;
    //use markdown&#60;br /&#62;
$_POST[&#34;input_14&#34;] = Markdown($my_text);&#60;/p&#62;
&#60;p&#62;}
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
