Hi
First of all, im a total newbie at this, so please excuse my probably easy-answerede question. Im using MODX and I have a contactform on my website. When filed out the form gives the message: “Thanks for your interest”. Since I want to track on how many persons signs up, I need the contactform to make a jump to a new page, with a “Thanks for your interest” message. This (below) is part of the snippet used for the contact form. My gues is, that I can replace the “Thanks for your interest” part, with something linking the one who clicks on “send email” to a new site:
send_email(ADMIN_EMAIL,ADMIN_SUBJECT,$modx->parseChunk('contactFormAdminEmail', $chunkArr, '[+', '+]'));
echo '
Thanks for your interest ';
$fields = array('name' => mysql_real_escape_string($_POST['name']),
'email' => mysql_real_escape_string($_POST['email']),
'phone' => mysql_real_escape_string($_POST['phone']),
'message' => mysql_real_escape_string($_POST['message'])
Anyone who can help a hopeless newbie?
-
☆ A M B ☆
- 24,524 Posts