Solved

How to show a checkbox ticked

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 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

9 Experts available now in Live!

Get 1:1 Help Now