The user has to register an account before being allowed to leave feedback so I can't direct you to the url unless you actually want to register. The code for the form is below
<form name="commentsForm" action="postCommentLH.php" method="post" > <p><textarea name="comment" cols="50" rows="10"></textarea></p> <?php //form for display of calendar dropdown menu echo '<p id="dosForm">Date of Stay: <form>'; calendar_dropdown(); echo '</form></p>'; ?> <p><input type="submit" name="submit" value=" Submit Comment " id="commentButton" /></p> <input type="hidden" name="submitted" value="TRUE" /> </form>
The form makes use of a php function to create the calendar dropdown menu. Here's the code for that function, though I don't think that is having an effect on the submit button.
function calendar_dropdown()
{
$months = array (1=>'January', 'February', 'March', 'April', 'May', 'June', 'July',
'August', 'September', 'October', 'November', 'December');
echo '<select name = "month">';
foreach ($months as $key=>$value)
{
echo "<option value=\"$key\">$value</option>\n";
}
echo '</select>';
echo '<select name="year">';
for ($year = 2000; $year <=2020; $year++)
{
echo "<option value=\"$year\">$year</option>\n";
}
echo '</select>';
}
Help















