Dynamic text color for button

I am having a heck of a time trying to get the text color of the button to dynamically change based on a database event.

<button id="btn1" class="btn" type="submit" dmx-style:color="#listing_info.data.listing_info[0].submit_button_text_color">

No matter what i choose, it doesn’t change the text color of the button. I can even put in a static color to just test it and it stays the same as the default text of black.

Any thing you can think of that could cause this?

Community Page
Last updated: