Solved

How to show a checkbox ticked

Posted on 2013-01-11
3
265 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

While it may be true that the internet is a place of possibilities, it is also a hostile environment lurking with many dangers. By clicking on the wrong link, trusting the wrong person or using a weak password, you are virtually inviting hackers to …
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

763 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