Need Help with Server Behaviors and Contact Form
This post is a continuation of my previous post asking about Adding Checkboxes to a form.
After trying to set the email settings and validate the Contact Form I have a similar problem to the question posted on 3/19/09 "red exclamation mark in server behaviors":
"According to the documentation you are able to use Universal Email to further customize the Contact Form. When I go to the server behaviors for the page there is a red exclamation mark by Universal Email(Mail for Linux). When I go to customize the page all the settings are lost and a new Universal email folder is created in the root. Why is this doing this and how do I customize the page that is in the solution pack without losing what is there?"
The solution for that thread was to update the UniversalEmail/EmailTemplates file or find and replace:
Mail_for_Linux_PHP
with
mail_PHP
and replace:
Mail for Linux
with
mail
I did a find and replace for these terms and came up with no instances of these terms in my site to correct. However, I do have double files of everything.
I am using the current version (1.0.2) of the Contact Form Solution Pack on a mac running OS X 10.5.6. I also have Universal Email and the Validation Toolkit installed. When editing the Contact Form, I also end up with two folders for Universal Email and the Validation Toolkit. Editing the Contact Form using the server behavior panel in Dreamweaver CS3 creates edits in the root files and not to the Contact Form files. The Contact Form then appears to be trying to read off of files in both locations which might be causing the errors I am experiencing. If I delete the files in root, the folders and files are recreated in root when I next try to edited the form's server behaviors and make corrections.
Also, I tried following the advice for validating dropdown list menus in the thread on 3/04/09 "I need some help with validation." I tried using the suggested code of
<option value="" selected="selected">Auswahl</option> using
<option value="" selected="selected">Choose</option> and
$WAFV_Errors .= WAValidateRQ(((isset($_POST["Title"]))?$_POST["Title"]:"") . "",true,8);
instead.
DW has problems validating the code saying: ""selected" is not a valid value for the "selected" attribute in any of the currently active versions."
What is a valid value in this situation?
I apologize for my inexperience and the length of these posts, but I'm not sure how to untangle the errors in the form. Does anyone have suggestions or tips how to fix whatever it is that I am doing wrong? Thank you.