<?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 back to submitter</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: email back to submitter</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 02:29:32 +0000</pubDate>

<item>
<title>Willy on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-10156</link>
<pubDate>Tue, 10 Aug 2010 20:16:22 +0000</pubDate>
<dc:creator>Willy</dc:creator>
<guid isPermaLink="false">10156@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you for fixing this!&#60;/p&#62;
&#60;p&#62;Greetings.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-10135</link>
<pubDate>Sun, 08 Aug 2010 07:37:44 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">10135@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Willy,&#60;/p&#62;
&#60;p&#62;Can you send me your post-functions.php file please?&#60;br /&#62;
Also, let me know the URL to your form.&#60;/p&#62;
&#60;p&#62;You can mail it to: customer.service [at] appnitro.com&#60;/p&#62;
&#60;p&#62;I'll check it.
&#60;/p&#62;</description>
</item>
<item>
<title>Willy on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-10133</link>
<pubDate>Sat, 07 Aug 2010 23:37:13 +0000</pubDate>
<dc:creator>Willy</dc:creator>
<guid isPermaLink="false">10133@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello again Yuniar,&#60;/p&#62;
&#60;p&#62;Thanks for your answer, unfortunately, no email is sent to user whether checkbox is checked or not checked with review ON.&#60;/p&#62;
&#60;p&#62;With review OFF code works fine.&#60;/p&#62;
&#60;p&#62;As I only am going to use one life form that will have review enabled always I don´t care if the code will work with review OFF, I need this option only for a form with review ON.&#60;/p&#62;
&#60;p&#62;Don't know if this makes any difference for the code required.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-10132</link>
<pubDate>Sat, 07 Aug 2010 22:04:55 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">10132@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ah.. yes, sorry I forgot to let you know that the above code will only work if you have form preview OFF.&#60;/p&#62;
&#60;p&#62;If you need to enable for both form preview ON or OFF, there are more code adjustment needed.&#60;/p&#62;
&#60;p&#62;First, you'll need to change the code I posted above to become like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$user_email_param[&#38;#39;target_is_admin&#38;#39;] = false; 

if($form_id == 38){
	if(!empty($table_data[&#38;#39;element_4_1&#38;#39;])){
	send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);
$_SESSION[&#38;#39;element_4_1&#38;#39;] = true;
	}
}else{
	send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then you will also need to modify another lines of post-functions.php file.&#60;/p&#62;
&#60;p&#62;Search around line 2319 for this code (it's close at the bottom of the file):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$user_email_param[&#38;#39;target_is_admin&#38;#39;] = false;
send_notification($form_id,$new_record_id,$esr_email_address,$user_email_param);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it using the same code I posted the first time above, like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$user_email_param[&#38;#39;target_is_admin&#38;#39;] = false; 

if($form_id == 38){
	if(!empty($table_data[&#38;#39;element_4_1&#38;#39;])){
	send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);
	}
}else{
	send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Willy on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-10130</link>
<pubDate>Sat, 07 Aug 2010 02:45:40 +0000</pubDate>
<dc:creator>Willy</dc:creator>
<guid isPermaLink="false">10130@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;After a bit more testing I found out that your code works when preview is OFF, with preview ON mail is send with and without the checkbox checked.&#60;/p&#62;
&#60;p&#62;I tried different solutions but my coding knowledge is too poor to be able to fix this.
&#60;/p&#62;</description>
</item>
<item>
<title>Willy on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-10128</link>
<pubDate>Fri, 06 Aug 2010 20:07:07 +0000</pubDate>
<dc:creator>Willy</dc:creator>
<guid isPermaLink="false">10128@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;What markup is needed to post code as code?
&#60;/p&#62;</description>
</item>
<item>
<title>Willy on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-10127</link>
<pubDate>Fri, 06 Aug 2010 20:06:09 +0000</pubDate>
<dc:creator>Willy</dc:creator>
<guid isPermaLink="false">10127@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks Yuniar,&#60;/p&#62;
&#60;p&#62;No problems for the delay/misunderstanding, no hurries here.&#60;/p&#62;
&#60;p&#62;I tested your code in my own testform and am receiving a copy with and without the checkbox checked.&#60;/p&#62;
&#60;p&#62;Your testform didn´t send a mail in either case.&#60;/p&#62;
&#60;p&#62;I'm not a coder so I'm not sure but it looks to me like your code lacks some else statement for the case of the non-checked checkbox.&#60;br /&#62;
I'm quite sure my code is like you say it has te be, form_id and checkbox_id are correct.&#60;/p&#62;
&#60;p&#62;$user_email_param['target_is_admin'] = false; &#60;/p&#62;
&#60;p&#62;			if($form_id == 3){&#60;br /&#62;
				if(!empty($table_data['element_8_1'])){&#60;br /&#62;
				send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);&#60;br /&#62;
				}&#60;br /&#62;
			}else{&#60;br /&#62;
				send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);&#60;br /&#62;
			}
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-10121</link>
<pubDate>Fri, 06 Aug 2010 17:13:21 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">10121@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Willy,&#60;/p&#62;
&#60;p&#62;Sorry for the delay, I thought your case was similar with the link posted above. After reading it again, it doesn't seem to be so.&#60;/p&#62;
&#60;p&#62;Ok, it's quite simple actually. Let's take a look into this form as an example:&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/forms/view.php?id=38&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forms/view.php?id=38&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It has an email field and a checkbox, which would make the mailing copy optional depends on your user selection.&#60;/p&#62;
&#60;p&#62;First of all, make sure to set the &#34;Send To&#34; dropdown, on your email settings, being set to your email field.&#60;/p&#62;
&#60;p&#62;Then to make it optional, we need to modify &#34;includes/post-functions.php&#34; file.&#60;br /&#62;
around line 1206, you'll find this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$user_email_param[&#38;#39;target_is_admin&#38;#39;] = false; 

send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you need to modify it to become like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$user_email_param[&#38;#39;target_is_admin&#38;#39;] = false; 

if($form_id == 38){
	if(!empty($table_data[&#38;#39;element_4_1&#38;#39;])){
	send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);
	}
}else{
	send_notification($form_id,$record_insert_id,$esr_email_address,$user_email_param);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In the above example, my form is having id number ($form_id) = 38 and the checkbox id is &#34;element_4_1&#34; , so make sure to adjust them with your own form number and checkbox id.
&#60;/p&#62;</description>
</item>
<item>
<title>Willy on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-10119</link>
<pubDate>Fri, 06 Aug 2010 15:10:53 +0000</pubDate>
<dc:creator>Willy</dc:creator>
<guid isPermaLink="false">10119@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Any chance of having a new look at this please?
&#60;/p&#62;</description>
</item>
<item>
<title>Willy on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-9956</link>
<pubDate>Tue, 20 Jul 2010 00:55:29 +0000</pubDate>
<dc:creator>Willy</dc:creator>
<guid isPermaLink="false">9956@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Me too is interested in this option of only sending a copy of the submitted form to submitter if a checkbox is checked.&#60;/p&#62;
&#60;p&#62;I read the entire topic you refer to but am not able to see what exactly I should do.&#60;/p&#62;
&#60;p&#62;Can you please help me with the code needed for a checkbox option that makes mailing a copy of the submitted form optional?&#60;/p&#62;
&#60;p&#62;If checked send a copy, if not checked no copy is sent to form submitter.&#60;/p&#62;
&#60;p&#62;Actually, this would be a nice new option for a future version. ;)
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-9955</link>
<pubDate>Mon, 19 Jul 2010 08:52:04 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">9955@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Actually you can see the method that posted in here :&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/forums/topic/email-from-a-drop-downlist/page/2?replies=42&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/email-from-a-drop-downlist/page/2?replies=42&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That would show you how to send an email based on checkbox or drop down selection
&#60;/p&#62;</description>
</item>
<item>
<title>roosenmachform on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-9928</link>
<pubDate>Fri, 16 Jul 2010 00:33:04 +0000</pubDate>
<dc:creator>roosenmachform</dc:creator>
<guid isPermaLink="false">9928@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;yes
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-9925</link>
<pubDate>Thu, 15 Jul 2010 18:18:16 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">9925@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;This would require some modification as well.&#60;br /&#62;
What field would you like to use? A checkbox?
&#60;/p&#62;</description>
</item>
<item>
<title>roosenmachform on "email back to submitter"</title>
<link>https://www.machform.com/forums/topic/email-back-to-submitter#post-9922</link>
<pubDate>Wed, 14 Jul 2010 21:53:18 +0000</pubDate>
<dc:creator>roosenmachform</dc:creator>
<guid isPermaLink="false">9922@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I know how to make a form send email back to submitter. Is it possible to make this depend on a field on the form, where the submitter can indicate that he wishes a copy of his email?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
