I’m creating a goal tracking site for myself and I’m having a bit of an issue with the check box.
I’m using Facebook login plugin and when I set a goal, I’ve created a way to save the current goal which is great so far. However, when I complete the goal, I want to add a simple check box that will stay checked if I log out or refresh the page.
Also, is there any way to save this data to see how many goals I’ve completed?
I assume you have a database table for your goals. You could then have a ‘completed’ (yes/no) field in this goals table and auto-bind the checkbox to it.
With the above, you will also be able to do a search/count. Probably easier to show you:
Edit: I should add that if you have multiple users using the app (as opposed to an app just for yourself), your repeating group should have an additional constraint: created by = current user. Your auto-binding should also be restricted to the user who created the goal.
By the way, I think I’ve seen on the forums that there is a to-do app template somewhere. It may prove a useful starting point for you.