How to show a checkbox ticked
Posted on 2013-01-11
Im working on a form that is connected to a access database. Im using frontpage to make the connection. I have a field called "Acord125P1_F22". If this value = True, how can I write a vb script that would write cheched after the value so that the end user will see a check box ticked.
I have no clue how to do this. Ive been coping code from diferent sources and this is what a came up with so far but it's not doing anyting. Can someone steer me in the right direction?
<input type="checkbox" name="Acord125P1_F22" value="true" <%IF FP_FieldHTML(fp_rs,"Acord125P1_F12") = "True" then response.Write("Checked")%></th>