Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to show a checkbox ticked

Posted on 2013-01-11
3
Medium Priority
?
272 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 2000 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Did you know there are services out there that can turn an Instagram feed into an RSS feed? I found some interesting exclusive Instagram content which I wanted to follow without signing up for yet another social media account. RSS to the rescue!
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

916 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