AnsweredAssumed Answered

How to Change a button's text at runtime?

Question asked by MorkAfur on May 30, 2013
Latest reply on May 30, 2013 by MorkAfur

Title

How to Change a button's text at runtime?

Post


     I would like to be able to change the text of a button so it acts like a toggle.

     Our application is a simple user "check-in" application.

     When the user clicks the "Check-in" button, I want to be able to change the caption to "Undo Checkin" in case the user clicked the wrong row.

     Then in the associated script, within the logic, read the current button's text caption and decide what to do with the data, then, toggle th button text again.

     How would this best be done in FMP 12?

     Thanks in advance,

     -m

Outcomes