• A new version of Full Calendar is now available.

    See the details here

Updating list element value when another list element changes

mrnorx

New Member
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
 
Ajax is not really necessary. Include a calc element in your task list/form to show the status of the related todo items. This is done with a database query of the todo table.
 

Members online

No members online now.
Back
Top