hi guys!
I'm trying to do something that seems very simple but can't get it to work as expected.
I have a form that when users populate, they click a SUBMIT button. The data is then stored to SharePoint. Users would like the button color to change once they click SUBMIT or have the text change to SUBMITTED.
this is what I am currently using, works but not exactly, toggle is not what I would really like to use.
OnSelect
UpdateContext({togglevalue: !togglevalue})
If(!varViewMode, SubmitForm(FormRewards))
Fill
If(togglevalue,Color.Yellow,Color.Red)