Hi Randy,
> I am retrieving information from a database and using it to populate form
> fields. When I set the checked attribute of a checkbox to true, it
> reverts back to false immediately. Based on the code below, the checkbox
> is checked when the alert appears, but goes to unchecked after
> acknowledging the alert. I included the only code that is below the
> script just to show that I am not resetting the value somehow.
>
> <Script Language="JScript">
> if (databasefield == "True") {
> document.form.checkbox.checked = true;
> }
> Alert ("Is It Checked??");
> </Script>
> <% recordset.close
> connection.close
> %>
> </html>
Any chance you could paste your complete listing AFTER the ASP has been
processed so we can take a closer look?
Thanks,
Chris