I was helped last year with getting a row highlighted based on a value. And I'm now applying it to a word. It's working fine but it only runs when I click inside of a cell. I need to run after the information has been populated. I will be initiating this form from workflow using the invoke business process. Here is the code I have so far.
$(document).ready(function(){ $('.cf-table-block').on('blur', 'input', highlight); function highlight(){ $('.cf-table-block tbody tr').each(function(){ var currentWord = ""; currentWord = $(this).find('.word input').val(); if (currentWord == "Delivery") $(this).closest('tr').css("background", "limegreen"); }); } });
Thanks for your help!
EDIT: I've tried removing the blur from the second line and loading another document.ready function but that hasn't worked.