You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Philip Mak <pm...@aaanime.net> on 2001/06/17 08:57:14 UTC

FormFill doesn't work with checkboxes?

Here is a short example script containing a form that submits to itself:

<%
$Response->{FormFill} = 1;
%>
<form action="test.asp" method="post">
<input type="checkbox" name="x">Checkbox<br>
<input type="submit">
</form>

If you check that box and then submit the form, when it displays the form
again the Checkbox becomes unchecked.

If you change the INPUT tag to:
<input type="checkbox" name="x" checked>

and load the page, check the box and submit the page, it also becomes
unchecked.

-Philip Mak (pmak@aaanime.net)


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org