Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check checkbox when link is selected

Status
Not open for further replies.

danieljoo

MIS
Oct 9, 2002
43
US
I have and asp page that displays all people that have attended our conference or have pre-registered. The page displays the attendees name, company, a button to print a nametag and a checkbox that will let us know if a nametag was printed. There is also a button that takes you to another page to add an attendee. When an attendee is added through this asp page, the checkbox on the first page is automatically checked (since when you add an attendee a tag is automatically printed). For the pre-registered attendees, thier data will have been already been imported into the database before the conference. Here is where I need help. I believe I need to create an onclick event, so that when the nametag is printed, the box is automatically checked and updated to the database, can someone please help.
 
When the records are displayed, just check the value for the attendee, and see if there has been something put there, if so then

<%If rs(&quot;attendee&quot;) <> &quot;&quot; then response.write &quot; checked&quot; %>
www.vzio.com
ASP WEB DEVELOPMENT



 
That is fine if attendee information is entered at the Conference, but it will also check attendees that have pre-registered. We need the checkbox so we know if the people that pre-registered actually showed up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top