<?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: Error with email addresses containing a '</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Error with email addresses containing a '</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 20:52:15 +0000</pubDate>

<item>
<title>yuniar on "Error with email addresses containing a '"</title>
<link>https://www.machform.com/forums/topic/error-with-email-addresses-containing-a-#post-20265</link>
<pubDate>Thu, 27 Feb 2014 11:43:24 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">20265@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Oh.. so it's the validation when creating a new user? In this case, you'll need to edit the &#34;add_user.php&#34; file.&#60;br /&#62;
Search around line 89 for this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$user_input[&#38;#39;user_email&#38;#39;] = trim(strtolower($_POST[&#38;#39;au_user_email&#38;#39;]));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it with this one:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$user_input[&#38;#39;user_email&#38;#39;] = str_replace(&#38;quot;&#38;#39;&#38;quot;,&#38;quot;&#38;quot;,trim(strtolower($_POST[&#38;#39;au_user_email&#38;#39;])));&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>ROYW1000 on "Error with email addresses containing a '"</title>
<link>https://www.machform.com/forums/topic/error-with-email-addresses-containing-a-#post-20222</link>
<pubDate>Mon, 24 Feb 2014 15:48:11 +0000</pubDate>
<dc:creator>ROYW1000</dc:creator>
<guid isPermaLink="false">20222@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;This is still not working when I am trying to create a user with an email address of Peter.O'Doherty@website.com to administer the forms.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Roy
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Error with email addresses containing a '"</title>
<link>https://www.machform.com/forums/topic/error-with-email-addresses-containing-a-#post-20208</link>
<pubDate>Sun, 23 Feb 2014 13:40:48 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">20208@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can edit the &#34;includes/common-validator.php&#34; file. Search around line 343 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$value[0] = trim($value[0]);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$value[0] = str_replace(&#38;quot;&#38;#39;&#38;quot;,&#38;quot;&#38;quot;,trim($value[0]));&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>ROYW1000 on "Error with email addresses containing a '"</title>
<link>https://www.machform.com/forums/topic/error-with-email-addresses-containing-a-#post-20183</link>
<pubDate>Wed, 19 Feb 2014 11:34:19 +0000</pubDate>
<dc:creator>ROYW1000</dc:creator>
<guid isPermaLink="false">20183@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I can add a user to the form if it contains a ' in the address for example o'doherty.&#60;/p&#62;
&#60;p&#62;How can the validation be fixed within the script.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Roy
&#60;/p&#62;</description>
</item>

</channel>
</rss>
