Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how can I check a checkbox with a database results

    Hi, I looking for a script that will check or uncheck checkbox
    I have a web base form that displays an database results
    from a query, for every row there is a checkbox that the value
    = the id field of a table that being queryed when a user checks a box the id value gets written into the database
    so I know the checkbox was selected. Now when the user
    selects the same form it does a database results to create
    the form so how can I show that checkbox now checked I have the id value I just dont know how to check a box by a
    script. Please help
    Thanks
    Dave

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,043
    Thanks
    0
    Thanked 251 Times in 247 Posts
    What's the server-side language you are using? You should do the checking/unchecking on the server-side and not client-side since you want the checkbox state to show on load of the page. Can you show some related codes?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •