Change formatting of Table Row based on field value

Oops — just looked at my answer and the problem was, as Glenn figured out, that you want to use “value” instead of “field.value”. I’m changing my answers so that future viewers of this post will not be confused.