Develop a button that changes label text
Develop a button that changes the text of a label when you select the button.
Application example
![](/content/dam/dita/en/factorytalk-optix/current/_images/set-label-script-1.png/_jcr_content/renditions/original)
![](/content/dam/dita/en/factorytalk-optix/current/_images/set-label-script-2.png)
TIP:
You can download a sample project from:
ButtonThatChangesLabelText.zipPrerequisites
- To develop the project
- Save the project.
Select
to run the project using the client emulator to test your project. To run the project on a remote client, see Add a client device.
Run
Provide Feedback