Can I change this code for use with a custom object?

Sara M,

This snippet is setup to mark selected tasks in a table completed.  If your goal is to mark selected rows (any object) as ‘completed’, I would recommend that you setup a Mass Action on the table.  You can use Skuid action steps to update any fields and save the changes for each record that was selected.

Thanks,

Bill