Changing Button text

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

User avatar
nftfi
Ebase User
Posts: 26
Joined: Fri Sep 14, 2007 3:18 pm
Location: Wales

Changing Button text

#1

Postby nftfi » Wed Sep 26, 2007 2:38 pm

Does anybody know of a way to change the button text dynamically.

For example changing the text on a button from 'Cancel' to 'Back' after some processing has taken place.

Thanks

N
0 x

User avatar
Joost
Ebase User
Posts: 49
Joined: Fri Sep 14, 2007 6:14 pm
Location: The Netherlands

#2

Postby Joost » Wed Sep 26, 2007 3:09 pm

Use as button label &&<some formfield>.

For example "&&BUTTON_TXT"

In your script use:
set BUTTON_TXT = 'Cancel';
set BUTTON_TXT = 'Back';

Give the field BUTTON_TXT a useful default value.
0 x

User avatar
nftfi
Ebase User
Posts: 26
Joined: Fri Sep 14, 2007 3:18 pm
Location: Wales

#3

Postby nftfi » Thu Sep 27, 2007 1:35 pm

Brilliant Thanks :D

N
0 x


Who is online

Users browsing this forum: No registered users and 18 guests