This project has moved and is read-only. For the latest updates, please go here.

Updating List Items with a Button

Oct 10, 2010 at 5:11 AM

From robbo88:

I've managed to insert a button in to my task list so far using the below code:

=CONCATENATE("<DIV><INPUT TYPE='button' NAME='myButton' VALUE=Completed onClick=set[Status]='Completed'></DIV>")

But I'm lost with how to edit it so that onclick, it updates the [Status] and [% Complete] columns to say "Completed" and "100%" respectively

Anything you can do to help would be massively appreciated - thanks

Oct 10, 2010 at 5:13 AM

You're going to need to develop some script for this. I think that this has come from another post I responded to somewhere out on the Web, but I forget where!

There's no real need for the Calculated column to create the button. You can do this entirely with script.