I have a collection where people can attach rows of documents to a collection for approval. If the documents are approved then they get saved into Laserfiche and if they are rejected then they get deleted via Workflow. I am wanting each row in the collection to change color based on the selection from a radio button. Thus in the image below if they pick "Approved" the background for that particular row in the collection turns green ( I can mess with the shade of green later) and if they pick "Rejected" it the background turns red.
I have tried to use the code from the Answers post regarding line color but have been unsuccessful in getting it to work. Has anyone been able to accomplish this with a collection and if so what is the trick with the javascript?