Change font color based on logic?

I am in need of some help seeing if a feature request from a client is possible. My client it asking if it is possible for certain form answers to change color (from black to red) based on a given response. For example, “Do you have heart disease?” A “yes” would change the font color to red to indicate a serious issue.

Hi Jacob. Interesting request! It might be possible to do with some JavaScript hooked to the gform_post_conditional_logic_field_action hook:

I’m not sure what that would look like, but that is the closest I could think of that applies to your requirement. If you have any other questions, please let us know.