Multiple contact
What would be the most efficient way to add more than one contact form on one website? All of them are the same as far as form content goes but will be sent to different email addresses.
Any pointers would be great. TY
Chris
What would be the most efficient way to add more than one contact form on one website? All of them are the same as far as form content goes but will be sent to different email addresses.
Any pointers would be great. TY
Chris
you could do this with one contact form
add a select list to the contact form where they can select who to send it to, set the value for the select list to use the email address, and the label of the select list to show a department name
In the universal behavior, set the to address field to use the select list by clicking the lightning bolt icon and selecting the address select list from the dynamic bindings.
I have to be close. Please verify why it's not working. I have the php file attached. It's probably the smtp again ha
I used my email for a value to test and I do see the loading and i have also checked for this code that gets added. Security_Code I have deleted it I think. Any help would be great!
Ty
add the following code at line 1:
<?php
if($_SERVER["REQUEST_METHOD"] == "POST") {
foreach($_POST as $key => $val) {
if(is_array($_POST[$key])) $_POST[$key] = implode(", ", $_POST[$key]);
}
}
?>
and change this line:
$RecipArray[$CurIndex ][] = "".((isset($_POST["Artist_Name[]"]))?$_POST["Artist_Name[]"]:"") ."";
to:
$RecipArray[$CurIndex ][] = "".((isset($_POST["Artist_Name[]"]))?$_POST["Artist_Name[]"]:"") ."";
also, in the Universal Email wizard set the Go To page to redirect to another page.
I was wondering? Where is the difference in the two lines you provided. If I was confident enough I would say they are the exactly the same. But that would mean I was paying attention. lol Please correct me as it felt I changed the line with the same line :)
The thankyou redirect worked and I saw loading screen.
looks like you are paying attention and I am not.
the change should be:
$RecipArray[$CurIndex ][] = "".((isset($_POST["Artist_Name[]"]))?$_POST["Artist_Name[]"]:"") ."";
to:
$RecipArray[$CurIndex ][] = "".((isset($_POST["Artist_Name"]))?$_POST["Artist_Name"]:"") ."";
It's ok. I won't steal your job just yet :) Everything is working great!
Ty
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.