NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Keith on July 25, 2014, 01:19:39 AM

Title: Changing text on a 'Save' button
Post by: Keith on July 25, 2014, 01:19:39 AM
Hi

Is it still the case that to change the text of a standard button (say 'Save') that you have to add this sort of code into the source:  p_web.site.ChangeButton.TextValue = Update Car'  (if you want to do it just for one procedure)?

I know that you can change it globally in the Web Handler procedure but that's not much use.

The question is if this is still the method then where, in a Form, do you put this code?

Keith
Title: Re: Changing text on a 'Save' button
Post by: Vinnie on July 25, 2014, 01:31:48 AM
Hi Keith

To change text on SAVE buton in a form.

p_web.site.SaveButton.TextValue = 'Login'
p_web.site.SaveButton.MobileText = 'Login'

Add this code to the GenerateForm ; Start

Cheers

Vince
Title: Re: Changing text on a 'Save' button
Post by: Keith on July 25, 2014, 02:40:14 PM
Thanks Vince, 100%.

Keith