I'm trying to figure out how I can set my form to email a copy of a form submission ONLY if a checkbox is checked indicating the form filler-outer person wants that to happen. :-)
I know about Dynamic To: but that would always send.
Where can I do it the way I want or better yet, is there a tutorial on how to do this?
Thanks much!
Rich
				
				
				
			I know about Dynamic To: but that would always send.
Where can I do it the way I want or better yet, is there a tutorial on how to do this?
Thanks much!
Rich
					Hi Rich,
See my post here:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=11177&p=14061#p14061
as you can see, you can do the same, replace $emails[0]->to to $emails[0]->dto to control the dynamic to field!
Cheers
Max
				
				
					
				
				
			See my post here:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=11177&p=14061#p14061
as you can see, you can do the same, replace $emails[0]->to to $emails[0]->dto to control the dynamic to field!
Cheers
Max
					I have a email field called contact_email
and a checkbox called contact_send_cc
I made it work by doing:
				
				
				
			and a checkbox called contact_send_cc
I made it work by doing:
if(JRequest::getVar('contact_send_cc')) {
   $emails[0]->to .= ','.JRequest::getVar('contact_email');
}
					thanks for posting the solution!
				
				
				
					
				
				
			This topic is locked and no more replies can be posted.
		
	
 
  