Field formatting on reveal

Hello all-
In the app I am designing there are a number of fields that I want to have hidden based on a choice made in a radio group. I have them being hidden and revealed no problem, what I would like to do is change the formatting on the newly visible fields so that they stand out in the form - until data has been entered into them.

Is there a way to achieve this?

@alvinthethird Can you share some screenshots? By formatting, do you mean the input or the style?

I mean the style of the field itself, not the content - I made a quick mockup of the idea.
Screenshot 2023-03-01 at 10.28.44 AM
Screenshot 2023-03-01 at 10.29.03 AM

And I would like that formatting on the new field to revert to the default styling once something is entered

Hi @alvinthethird

You should be able to make the styling conditional based on the value of the component.

For example, I have a number input where I want the background to be red only if the user hasn't changed it from my default of null:

Would this solution work for you?