Hi, I'm building a 'suggest to a friend' form where I want to send an email message with three recipients -- the sender, the friend and BCC the site admin. This is pretty easy to set up using Special Fields but Chrono won't let me apply the form because "Email Address(es): " in the General tab is blank. Any ideas?
Hi chuckygobyebye ,
From another post I made today:
In your case $email will need to be one of the eamils from the form.
Bob
From another post I made today:
At least this is how it should work - there is a little bug in some versions of ChronoForms which requires a valid email address in the General tab before you can save your form. If you hit this problem then you can put a dummy address in there like [email]user@example.com[/email] and overwrite it in the OnSubmit before code with
<?php
$rows[0]->extraemail = $email;
?>
In your case $email will need to be one of the eamils from the form.
Bob
That's a handy solution, I'll give it a try. However, it's worth pointing out that the address doesn't have to be valid, the field just has to be non-blank, at least in the version we're using.
Cheers,
Dan
Cheers,
Dan
This topic is locked and no more replies can be posted.