C
canajien
I have a form that stores information in a table, but I also need it
to send an email when a specific question, among the many, is answered
with no
the question is a simple drop box:
<select name="safe_access">
<option value="0"></option>
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
and the javascript validation is:
//safe_access
if ( form.safe_access.selectedIndex == 0 ){
alert ( "Please select whether or not there is safe access to the
beach." );
form.safe_access.focus();
return false;
}
how do I get it to send an email, and still store information in the
table when someone answers no?
I've done several searches, but they all keep bringing up how to email
the form instead of what I am looking for.
Thanks
to send an email when a specific question, among the many, is answered
with no
the question is a simple drop box:
<select name="safe_access">
<option value="0"></option>
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
and the javascript validation is:
//safe_access
if ( form.safe_access.selectedIndex == 0 ){
alert ( "Please select whether or not there is safe access to the
beach." );
form.safe_access.focus();
return false;
}
how do I get it to send an email, and still store information in the
table when someone answers no?
I've done several searches, but they all keep bringing up how to email
the form instead of what I am looking for.
Thanks