Toggle on/off dynamic button
I would like to be able to toggle a simple yes/no relationship using a single button, and I can't seem to get the behavior right. At the most basic level, I would like users to be able to click a button that changes a value to "Yes" and if they click the button again, change it to "no." The resulting actions I have in place, but right now I am using radio buttons and other implementations to control the entry.
Any help would be appreciated.