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 5 of 5
  1. #1
    New Coder
    Join Date
    Oct 2009
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Editable/saveable online checklist

    Is it possible to create a Web page with HTML - or maybe JavaScript? - that will allow a person to keep a checklist so that when a task is completed, you can check it off the list and it saves so the next time you view it you can still see that it has been completed?

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Quote Originally Posted by chelseasikoebs View Post
    Is it possible to create a Web page with HTML - or maybe JavaScript? - that will allow a person to keep a checklist so that when a task is completed, you can check it off the list and it saves so the next time you view it you can still see that it has been completed?
    You can do this for a local file on your hard drive but for an online tool you would need to use server-side scripting. PHP is a common and very capable language to use for this type of thing.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • #3
    New Coder
    Join Date
    Oct 2009
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Woah. Okay. Would code for that be simple? Maybe I can post this in the PHP section?

  • #4
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Quote Originally Posted by chelseasikoebs View Post
    Woah. Okay. Would code for that be simple? Maybe I can post this in the PHP section?
    Simple-ish. I won't lie: there is a learning curve. Fortunately it's not very steep.

    You'll need to learn some PHP syntax, which is pretty intuitive. MySQL would also be a good idea to use in conjunction with this to store your tasks so learning that syntax is also a part of it.

    There are almost certainly some tutorials to be found for this type of thing now that you know what languages you need to google for. In fact, I wouldn't be shocked to find that there is a full script available for download that does exactly what you need. Give it a search and if you come up bust then have a moderator move your thread to the PHP forum for some guidance.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • #5
    New Coder
    Join Date
    Nov 2009
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    PHP and MySQL would be the easiest way to get this done with the least amount of headaches. Your database table could for example hold boolean variables to be true/false depending on if certain tasks were completed, and text to describe your tasks. You can easily record changes into the database without having to mess with file writing or sessions or anything. With not too much work, you can create an interface to add, view, and search for tasks.

    There are some great tutorials on YouTube about getting started with PHP/MySQL. I recommend using phpMyAdmin for your MySQL to make your life a lot easier. And I'd download xampp (which includes phpMyAdmin with it) so that you can have PHP and MySQL both running on your computer. That way you can test all your scripts easily without having to upload them to a server.
    Last edited by JavaScriptGuy; 12-10-2009 at 07:15 AM.


  •  

    Posting Permissions

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