How to change the caption of a button when clicked

0
I am working on a mendix native app and I want to implement an invite functionality where a person can invite users to their team, the problem is that I want the caption of my "Invite" button to change into "Sent" when it is clicked indicating that the invite has been sent. Is there a way to make this happen?
asked
1 answers
1

Hi Hashim,

you can create two buttons with different caption and with conditional visibility , create a boolean set it to false default, when button is clicked change that boolean to true and refresh 

put first button visibility such that it 'll be visible when  boolean is false and other button( with caption Sent) when boolean will be true

answered