Solved

How to show a checkbox ticked

Posted on 2013-01-11
3
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
A hard and fast method for reducing Active Directory Administrators members.

734 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