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
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Refreshing a form without resetting it?

    Hi,
    I am using php to spit out a list from my database, each item in the list has check boxes next to it. I need to refresh this page ever 20 seconds to update the list, but I dont want the check boxes to reset when the page is refreshed, how might I accomplish this?
    Any help would be much appreciated. thank you.
    Last edited by d4nw; 08-20-2005 at 09:29 PM.

  • #2
    New Coder
    Join Date
    May 2005
    Location
    New Zealand
    Posts
    76
    Thanks
    0
    Thanked 6 Times in 6 Posts
    One idea might be to submit the page instead of refreshing it every 20 seconds.

    That way you can figure out what check boxes are selected as they will be submitted as parameters.

    When you re-create the page, simply set 'checked=true' for all the checkboxes that were ticked.


  •  

    Posting Permissions

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