I have the following code:
<script>
if ViewRedCalls.fields.item("StaffID").value = "unassigned" then
<tr bgcolor=red>
else
<tr>
end if
</script>
What I want is for any records in my dinamic table (ViewRedCalls) that say "unassigned" to be written in RED. This code doesnt appear to be working and I cant work out why? The column that contains unassigned values is called StaffID. Any ideas? Thanks
<script>
if ViewRedCalls.fields.item("StaffID").value = "unassigned" then
<tr bgcolor=red>
else
<tr>
end if
</script>
What I want is for any records in my dinamic table (ViewRedCalls) that say "unassigned" to be written in RED. This code doesnt appear to be working and I cant work out why? The column that contains unassigned values is called StaffID. Any ideas? Thanks