Hi I a list of tasks and another list of todo items. the todo items are linked to a task when created.
When a todo item is complete, the complete field changes from 0 to 1. I need a function, maybe ajax, that checks if all the todo items are 1 for that task and then changes the task complete from 0 to 1. I imagine the ajax task will need to run after submitting the change to any todo item to mark it complete.
I hope this makes sense, I have no experience int his so a more detailed answer would be appreciated, if this function is possible.
thanks
When a todo item is complete, the complete field changes from 0 to 1. I need a function, maybe ajax, that checks if all the todo items are 1 for that task and then changes the task complete from 0 to 1. I imagine the ajax task will need to run after submitting the change to any todo item to mark it complete.
I hope this makes sense, I have no experience int his so a more detailed answer would be appreciated, if this function is possible.
thanks