<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: How to use custom_hooks.php</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: How to use custom_hooks.php</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:26:35 +0000</pubDate>

<item>
<title>knitzsche on "How to use custom_hooks.php"</title>
<link>https://www.machform.com/forums/topic/how-to-use-custom_hooksphp#post-1503</link>
<pubDate>Sat, 26 Apr 2008 13:13:25 +0000</pubDate>
<dc:creator>knitzsche</dc:creator>
<guid isPermaLink="false">1503@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks for the info, Yuniar. Looking forward to the new release.&#60;/p&#62;
&#60;p&#62;Ciao!&#60;br /&#62;
Kalpana
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How to use custom_hooks.php"</title>
<link>https://www.machform.com/forums/topic/how-to-use-custom_hooksphp#post-1497</link>
<pubDate>Fri, 25 Apr 2008 07:07:07 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">1497@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Actually, this is an experimental feature provided to customize some behaviour of MachForm. That's why there is no documentation about this.&#60;/p&#62;
&#60;p&#62;So far, it's being used to send autoresponder emails to users. Check here for some samples:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/how-to-send-a-copy-of-the-form?replies=11&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/how-to-send-a-copy-of-the-form?replies=11&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/forums/topic/sending-html-email-back-to-submitter?replies=29&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/sending-html-email-back-to-submitter?replies=29&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;As of version 2.0 (planned to be released next week), all custom hooks functions will be removed. Since those features are already available as built in feature. And due to the complexity of it.&#60;/p&#62;
&#60;p&#62;The only available function in custom hooks would be &#60;code&#62;formXX_hook_pre_captcha&#60;/code&#62; which can be used to change the color scheme of your reCaptcha.&#60;/p&#62;
&#60;p&#62;An example hook to modify the captcha color scheme:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function form2_hook_pre_captcha(){
		$capthca_theme =&#38;lt;&#38;lt;&#38;lt;EOT
&#38;lt;script&#38;gt;
var RecaptchaOptions = {
   theme : &#38;#39;blackglass&#38;#39;
};
&#38;lt;/script&#38;gt;
EOT;
		return $capthca_theme;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
That would change the scheme of your captcha to black. Supported themes are 'red', 'white', 'blackglass' and 'clean'.
&#60;/p&#62;</description>
</item>
<item>
<title>knitzsche on "How to use custom_hooks.php"</title>
<link>https://www.machform.com/forums/topic/how-to-use-custom_hooksphp#post-1494</link>
<pubDate>Fri, 25 Apr 2008 06:35:53 +0000</pubDate>
<dc:creator>knitzsche</dc:creator>
<guid isPermaLink="false">1494@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I would like to understand how to use custom_hooks.php.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>

</channel>
</rss>
