Re: I need some help coding a Form
Okay, this is what I have now.
It doesn't work, but I think that it's closer;
<style type="text/css">
<!--
.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
}
-->
</style>
</head>
<body>
<form name="input" action="html_form_action.asp" >
<p class="style1">
Enter your answer and click Go</p>
<span class="style1">Answer:</span>
<input type="text" name="answer">
<input type="submit" value="Go">
<% if request.form('answer')="correct answer"
<a href="success.html"></a>
<% else %>
<p class="style1">Please enter the correct answer</p>
<% end if %>
</form>
</body>
</html>
Can anyone please help me with the correct coding?
|