Hi David,
The easiest way to change a field's color (based on its value) is to use JavaScript "if" statements. For instance, when a Pass/Fail field changes, if its input is "Pass", then change the text to "green". You can assign a class to the Pass/Fail column in its advanced settings. Here is one way of doing it:
$(document).ready(function(){
$(document).on('change', '.passFail input', function(){
if ($(this).val() == 'Pass'){
$(this).css('color', 'green');
}
else if ($(this).val() == 'Fail'){
$(this).css('color', 'red');
}
else if ($(this).val() == 'Undetermined'){
$(this).css('color', 'orange');
}
else {$(this).css('color', 'rgb(85, 85, 85)');}
});
});
You can copy and paste this into the "JavaScript" section of your form's "CSS and JavaScript" tab. Then, go to the advanced tab in the "Pass/Fail" column's field options, and type "passFail" into the CSS class section.
Click here for more information on using JavaScript with Forms.
Let me know if this works for you!
Edit: If you want to change the background color of the field instead of the field's text, then replace color with background-color (lines 5, 8, 11, 13), and replace rgb(85,85,85) with white (line 13). To see a list of supported colors and their names, click here.