<?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: Email Validation</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Email Validation</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 04:11:30 +0000</pubDate>

<item>
<title>yuniar on "Email Validation"</title>
<link>https://www.machform.com/forums/topic/email-validation#post-1836</link>
<pubDate>Sat, 17 May 2008 10:14:11 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">1836@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You are right, there is small bug with the email validation.&#60;/p&#62;
&#60;p&#62;To fix it, edit your &#60;strong&#62;includes/common-validator.php&#60;/strong&#62;, search around line 209 (inside validate_email() function) for this code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$regex  = &#38;#39;/^[A-z0-9][\w.-]*@[A-z0-9][\w\-\.]+\.[A-z0-9]{2,6}$/&#38;#39;;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
replace that line above with this one:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$regex  = &#38;#39;/^[A-z0-9][\w.-]*@[A-z0-9][\w\-\.]*\.[A-z0-9]{2,6}$/&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
I'll update the package with this bugfix.
&#60;/p&#62;</description>
</item>
<item>
<title>realestsrv on "Email Validation"</title>
<link>https://www.machform.com/forums/topic/email-validation#post-1822</link>
<pubDate>Fri, 16 May 2008 23:51:27 +0000</pubDate>
<dc:creator>realestsrv</dc:creator>
<guid isPermaLink="false">1822@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Your email validation prohibits single character domains such as Qwest (q.com).&#60;/p&#62;
&#60;p&#62;Your form will not permit  &#60;a href=&#34;mailto:user@q.com&#34;&#62;user@q.com&#60;/a&#62; (for example)&#60;/p&#62;
&#60;p&#62;This validation should include accepting single character domain names.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
