Solved

How to show a checkbox ticked

Posted on 2013-01-11
3
260 Views
Last Modified: 2013-01-12
Hi,

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>
0
Comment
Question by:jrcommsat
  • 2
3 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 38769264
<input type="checkbox" name="Acord125P1_F22" value="true"  <%IF FP_FieldHTML(fp_rs,"Acord125P1_F12") = "True" then response.Write("checked='checked' ")%> />

Open in new window

0
 

Author Comment

by:jrcommsat
ID: 38769287
WOW, YOUR THE BEST! IT WORKED!!!!
0
 
LVL 82

Expert Comment

by:leakim971
ID: 38769303
so close the question
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now