<html>
<head>
<title>SMSG Feedback Form</title>
<style>
html, body {background-color: #f0f0f0;
margin: 0px 0px 0px 0px;}
p {font-family: "times new roman";
font-size: 11pt;
color: #0000ff;
text-align: center;}
p.1 {font-family: garamond;
font-size: 20pt;
text-align: center;
color: #0000ff;
font-weight: bolder;
margin: 30px;
text-align: center;}
p.2 {font-family: "times new roman";
font-size: 11pt;
color: #0000ff;
font-style: oblique;}
p.3 {font-family: "times new roman";
font-size: 11pt;
color: #0000ff;
text-align: center;
margin: 55px 0px 5px 10px;}
#menu {float: left;
height: 100%;
width: 200px;
background-color: #0000ff;
font-family: verdana;
font-size: 10pt;
text-align: center;
color: #ffffff;
padding: 100px 5px 5px 5px;
border-right: 1px solid black;}
textarea {background-color: transparent;}
#watermark {background-image: url(logo.png);
background-repeat: no-repeat;
background-position: center 15px;
margin-left: 200px;}
</style>
</head>
<body>
<script language="VBScript">
Function myForm_OnSubmit
Dim item, strFilePath
Dim objFSO, myFile
Dim TheForm
Dim retVal
Const ForAppending = 8
Const MaxCharacters = 500
Set TheForm = Document.forms("myform")
retVal = False
If Len(TheForm.feedback.value) > MaxCharacters Then
MsgBox "Your feedback is too long. Please enter a maximum of 500 characters."
Else
strFilePath = "[url="file://server/Feedback.txt"]\\server\Feedback.txt[/url]"
Set objFSO = CreateObject("Scripting.FileSystemObject")
If NOT objFSO.FileExists(strFilePath) Then
objFSO.CreateTextFile(strFilePath)
End If
Set myFile = objFSO.OpenTextFile (strFilePath, ForAppending, True)
myFile.WriteLine("Form submitted at " & now())
For Each item In TheForm
If item.name <> "submitter" Then
myFile.WriteLine(item.name & " : " & item.value)
End If
Next
myFile.WriteLine(vbNewLine)
myFile.Close
Set myFile = Nothing
Set objFSO = Nothing
MsgBox "Thank you for submitting feedback."
retVal = True
End If
myForm_OnSubmit = retVal
End Function
</script>
<div id="menu">Welcome to the SMSG Anonymous Feedback Form! You can use this form to ask questions, suggest new processes, recommend divesting activities, recognize good things that happen in the SMSG, or identify things that are not so good. Col Franz and I will be the only ones to see your inputs, and we have no way to find out who made the submission -- that's what 'anonymous' is all about. Once we have your inputs, we will take the necessary actions and report their status and closeout during following Director's Calls. Thank you for taking time to make the SMSG the best place to spend your workdays.</div>
<div id="watermark">
<p class="1">Simulator Systems Group's<br>Anonymous Feedback Form</p>
<form id="myform" method="post" onsubmit="SubmitForm()">
<p><center><textarea rows="9" cols="50" name="Feedback"></textarea><br>
<p class="2">- Feedback is limited to 500 characters in length. -</p>
<p><input name="submitter" type="submit" value="Submit Feedback"></p>
<p><input name="submitter" type="reset" value="Reset the Form"></p>
</form>
<p class="3">After clicking on the "Submit Feedback" button,<br>you will see this window:</p>
<center><img src="error.jpg"></center>
<p>Choose "Yes" to finish submitting your feedback.</p>
</div>
</body>
</html>