Hi!! posted a question a few weeks and ago and read the reply end of last week but now I can’t seem to find it to reply back. I am having trouble getting my survey to emial me correctly. They said for me to post my form if I still have trouble. Thanks!!
Here is my form:
<form method="POST" action="mailer.php" >
<label>
<strong>What class are you in?</strong>
<input name="Class2" type="text" id="Class2" maxlength="4" />
<br />
<br />
<strong>How many times have you had contact with the Financial Aid Office within the past 12 months?</strong></label>
</br>
<label> <br />
<input type="radio" name="radio" value="0-2" id="How many times have you had contact with the Financial Aid Office within the past 12 months?_0" />
0-2</label>
<br />
<label>
<input type="radio" name="radio" value="3-5" id="How many times have you had contact with the Financial Aid Office within the past 12 months?_1" />
3-5</label>
<br />
<label>
<input type="radio" name="radio" value="5-10" id="How many times have you had contact with the Financial Aid Office within the past 12 months?_2" />
5-10</label>
<br />
<label>
<input type="radio" name="radio" value="Over 10" id="How many times have you had contact with the Financial Aid Office within the past 12 months?_3" />
Over 10 </label>
<p><strong>Was this contact (check all that apply)</strong><br />
</p>
<label>
<input name="check[]" type="checkbox" id="contact" value="In person" />
In person</label>
<br />
<label>
<input name="check[]" type="checkbox" id="contact" value="By phone" />
By phone</label>
<br />
<label>
<input name="check[]" type="checkbox" id="contact" value="By email" />
By email</label>
<br />
<label>
<input name="check[]" type="checkbox" id="contact" value="Fax" />
Fax</label>
<br />
<label>
<input name="check[]" type="checkbox" id="No contact with the Financial Aid Office" value="No contact with the Financial Aid Office" />
No contact with the Financial Aid Office</label>
<br />
<label>
<input name="check[]" type="checkbox" id="contact" value="Other" />
Other</label>
<p><strong>What was the nature of your visit(s)? (check all the apply)</strong></strong><br />
<label>
<input name="check[]" type="checkbox" id="Loan question/assistance" value="Loan question/assistance" />
Loan question/assistance</label>
<br />
<label>
<input name="check[]" type="checkbox" id="Scholarship question/assistance" value="Scholarship question/assistance" />
Scholarship question/assistance</label>
<br />
<label>
<input name="check[]" type="checkbox" id="Application/FAFSA assistance" value="Application/FAFSA assistance" />
Application/FAFSA assistance</label>
<br />
<label>
<input name="check[]" type="checkbox" id="Debt load counseling" value="Debt load counseling" />
Debt load counseling</label>
<br />
<label>
<input name="check[]" type="checkbox" id="HPSPquestion/counseling" value="HPSP question/counseling" />
HPSP question/counseling</label>
<br />
<label>
<input name="check[]" type="checkbox" id="SpecialCircumstancesAppeal" value="Special Circumstances Appeal" />
Special Circumstances Appeal</label>
<br />
<label>
<input name="check[]" type="checkbox" id="NocontactwiththeFinancialAidOffice2" value="No contact with the Financial Aid Office2" />
No contact with the Financial Aid Office</label>
</p>
<p><strong>Were you treated courteously and professionally?</strong><br />
<label>
<input type="radio" name="radio" value="Strongly agree" id="Were you treated courteously and professionally?_0" />
Strongly agree</label>
<br />
<label>
<input type="radio" name="radio" value="Agree" id="Were you treated courteously and professionally?_1" />
Agree</label>
<br />
<label>
<input type="radio" name="radio" value="No opinion/no contact with the Financial Aid Office" id="Were you treated courteously and professionally?_2" />
No opinion/no contact with the Financial Aid Office</label>
<br />
<label>
<input type="radio" name="radio" value="Disagree" id="Were you treated courteously and professionally?_3" />
Disagree</label>
<br />
<label>
<input type="radio" name="radio" value="Strongly disagree" id="Were you treated courteously and professionally?_4" />
Strongly disagree</label>
<br />
<br />
<label></label>
<strong>Were your questions/concerns adequately addressed?</strong><br />
<label>
<input type="radio" name="radio" value="Strongly agree" id="Were your questions/concerns adequately addressed?_0" />
Strongly agree</label>
<br />
<label>
<input type="radio" name="radio" value="Agree" id="Were your questions/concerns adequately addressed?_1" />
Agree</label>
<br />
<label>
<input type="radio" name="radio" value="No contact with the Financial Aid Office" id="Were your questions/concerns adequately addressed?_2" />
No contact with the Financial Aid Office</label>
<br />
<label>
<input type="radio" name="radio" value="Disagree" id="Were your questions/concerns adequately addressed?_3" />
Disagree</label>
<br />
<label>
<input type="radio" name="radio" value="Strongly disagree" id="Were your questions/concerns adequately addressed?_4" />
Strongly disagree</label>
<br />
<label><br />
</label>
<strong>Was the Financial Aid Office staff knowledgeable with accurate and up-to-date information?</strong><br />
<label>
<input type="radio" name="radio" value="Strongly agree" id="Was the Financial Aid Office staff knowledgeable with accurate and up-to-date information?_0" />
Strongly agree</label>
<br />
<label>
<input type="radio" name="radio" value="Agree" id="Was the Financial Aid Office staff knowledgeable with accurate and up-to-date information?_1" />
Agree</label>
<br />
<label>
<input type="radio" name="radio" value="No contact with the Financial Aid Office" id="Was the Financial Aid Office staff knowledgeable with accurate and up-to-date information?_2" />
No contact with the Financial Aid Office</label>
<br />
<label>
<input type="radio" name="radio" value="Disagree" id="Was the Financial Aid Office staff knowledgeable with accurate and up-to-date information?_3" />
Disagree</label>
<br />
<label>
<input type="radio" name="radio" value="Strongly disagree" id="Was the Financial Aid Office staff knowledgeable with accurate and up-to-date information?_4" />
Strongly disagree</label>
<br />
<label></label>
</p>
<p> <strong>Was the Financial Aid Office efficient and timely in getting all required information & forms to you regarding financial aid?</strong><br />
<label>
<input type="radio" name="radio" value="Strongly agree" id="Was the Financial Aid Office efficient and timely in getting all required information & forms to you regarding financial aid?_0" />
Strongly agree</label>
<br />
<label>
<input type="radio" name="radio" value="Agree" id="Was the Financial Aid Office efficient and timely in getting all required information & forms to you regarding financial aid?_1" />
Agree</label>
<br />
<label>
<input type="radio" name="radio" value="No contact with the Financial Aid Office" id="Was the Financial Aid Office efficient and timely in getting all required information & forms to you regarding financial aid?_2" />
No contact with the Financial Aid Office</label>
<br />
<label>
<input type="radio" name="radio" value="Disagree" id="Was the Financial Aid Office efficient and timely in getting all required information & forms to you regarding financial aid?_3" />
Disagree</label>
<br />
<label>
<input type="radio" name="radio" value="Strongly disagree" id="Was the Financial Aid Office efficient and timely in getting all required information & forms to you regarding financial aid?_4" />
Strongly disagree</label>
<br />
<label></label>
</p>
<p><strong>Was the Financial Aid Office thorough in explaining your financial aid options?</strong><br />
<label>
<input type="radio" name="radio" value="Strongly agree" id="Was the Financial Aid Office thorough in explaining your financial aid options?_0" />
Strongly agree</label>
<br />
<label>
<input type="radio" name="radio" value="Agree" id="Was the Financial Aid Office thorough in explaining your financial aid options?_1" />
Agree</label>
<br />
<label>
<input type="radio" name="radio" value="No contact with the Financial Aid Office" id="Was the Financial Aid Office thorough in explaining your financial aid options?_2" />
No contact with the Financial Aid Office</label>
<br />
<label>
<input type="radio" name="radio" value="Disagree" id="Was the Financial Aid Office thorough in explaining your financial aid options?_3" />
Disagree</label>
<br />
<label>
<input type="radio" name="radio" value="Strongly disagree" id="Was the Financial Aid Office thorough in explaining your financial aid options?_4" />
Strongly disagree</label>
<br />
<label></label>
</p>
<p><strong>If you received assistance through the Financial Aid website, was there sufficient information available to answer your questions?</strong><br />
<label>
<input type="radio" name="radio " value="Yes" id="If you received assistant through the Financial Aid website, was there sufficient information available to answer your questions? _0" />
Yes</label>
<br />
<label>
<input type="radio" name="radio " value="No" id="If you received assistant through the Financial Aid website, was there sufficient information available to answer your questions? _1" />
No</label>
<br />
<label>
<input type="radio" name="radio" value="Have not received assistance through website" id="If you received assistant through the Financial Aid website, was there sufficient information available to answer your questions? _2" />
Have not received assistance through website</label>
<br />
<label></label>
</p>
<p><strong>How satisfied were you with your overall visit to the Financial Aid website?</strong><br />
<label>
<input type="radio" name="radio" value="Very satisfied" id="How satisfied were you with your overall visit to the Financial Aid website?_0" />
Very satisfied</label>
<br />
<label>
<input type="radio" name="radio" value="Satisfied" id="How satisfied were you with your overall visit to the Financial Aid website?_1" />
Satisfied</label>
<br />
<label>
<input type="radio" name="radio" value="Have not visited the website" id="How satisfied were you with your overall visit to the Financial Aid website?_2" />
Have not visited the website</label>
<br />
<label>
<input type="radio" name="radio" value="Dissatisfied" id="How satisfied were you with your overall visit to the Financial Aid website?_3" />
Dissatisfied</label>
<br />
<label>
<input type="radio" name="radio" value="Very dissatisfied" id="How satisfied were you with your overall visit to the Financial Aid website?_4" />
Very dissatisfied</label>
<br />
<label></label>
</p>
<p><strong>Do you feel informed on the availability of financial aid resources?</strong><br />
<label>
<input type="radio" name="radio" value="Strongly agree" id="Do you feel informed on the availability of financial aid resources?_0" />
Strongly agree</label>
<br />
<label>
<input type="radio" name="radio" value="Agree" id="Do you feel informed on the availability of financial aid resources?_1" />
Agree</label>
<br />
<label>
<input type="radio" name="radio" value="No opinion/not interested in financial aid" id="Do you feel informed on the availability of financial aid resources?_2" />
No opinion/not interested in finanical aid</label>
<br />
<label>
<input type="radio" name="radio" value="Disagree" id="Do you feel informed on the availability of financial aid resources?_3" />
Disagree</label>
<br />
<label>
<input type="radio" name="radio" value="Strongly disagree" id="Do you feel informed on the availability of financial aid resources?_4" />
Strongly disagree</label>
<br />
<label></label>
</p>
<p>
<label><strong>Please include any comments or suggestions</strong>.<br />
<textarea name="suggestions" id="Please include any comments or suggestions." cols="45" rows="5"></textarea>
</label>
</p>
<p>
<label><strong>If you would like us to contact you about any of your responses, please provide your name and email address.
</strong>
<textarea name="reply" id="If you would like us to contact you about any of your responses, please provide you rname and email address." cols="45" rows="5"></textarea>
</label>
</p>
<p align="right">
<label>
<input type="submit" name="Submit" id="Submit" value="Submit" />
<input type="reset" name="Reset" id="Reset" value="Reset" />
</label>
<br />
</p>
</form>
Here is my PHP:
<?php
if(isset($_POST['submit'])) {
$to = "kralls@vcom.vt.edu";
$subject = "Financial Aid Survey";
$class2 = $_POST['class2'];
foreach($_POST['check'] as $value) {
$check_msg .= "Checked: $value
";
}
$option = $_POST['radio'];
$suggestions= $_POST['suggestions'];
$reply = $_POST['reply'];
$body = "Class: $class2
Suggestions: $suggestions
Option: $option
Drop-Down: $dropdown
Message:
$message";
echo '' ;
mail($to, $subject, $body);
} else {
echo "Thank you!
Your information has been submitted.";
}
?>
Thank you for your help!!!