Function to update task status from contact page.

Function to update task status from contact page.

Hello ZoHo crew,
I've just been hired full time to become the team's ZoHo pro.  
Most excellent tool you all have created !  Much to learn .

I found this most excellent write on creating buttons :
Make buttons on modules

Now I need to create the functions.  
The goal is to streamline task management and improve user participation.
Attached is an image that makes my goal clear.




[ Task Completed ] function should change the earliest task status to completed

[ Call in 3 days ] function should create a follow call task in 3 days associated to open contact and current user.


Any help would be immensely appreciated.  
I will thank you with much professional participation on your forums.  
I like to create forum posts to be found with a search and help others.

cheers,
Aaron