TEXT
= mandatory for each custom button script
For each custom button, a TEXT property should be defined. The TEXT parameter is simply the text that should be shown for the button in the ribbon when opening the form/report.
When adding or editing a custom button in Template Design, you need to add a Button Text property for the button, as shown below:
When the right panel is collapsed the information added in above dialog will be automatically written to the SCRIPTS worksheet, and the TEXT property for the specific button will be updated, like below:
When you save and preview or publish the report/form, the custom button will be visible in the ribbon with the text specified: