NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Poul Jensen on January 06, 2024, 02:36:17 AM

Title: Field not found: USEJAVASCRIPT
Post by: Poul Jensen on January 06, 2024, 02:36:17 AM
Hi,

Moving an old NT app I haven't been working on for several years to NT 14.

In Webserver procedure - embed: Start of "Override Default Server Settings" I have an include file that translates txt on a lot of buttons to Danish, but these lines now gives an error when compiling:
s_web._SitesQueue.Defaults.SaveButton.UseJavaScript = 1

Field not found: USEJAVASCRIPT - D:\P11_0762\KundeWeb\DanskeTekster.inc:18,43

What is at play here?

Cheers
/Poul
Title: Re: Field not found: USEJAVASCRIPT
Post by: Bruce on January 07, 2024, 11:20:43 PM
UseJavaScript is no longer a property of the NetWebButtonGroup.
You can simply remove that line.

If all you are changing is text, then the only field you should be changing is TextValue.

Cheers
Bruce
Title: Re: Field not found: USEJAVASCRIPT
Post by: Poul Jensen on January 08, 2024, 11:07:02 PM
Thanks Bruce.

So much new (and old) stuff to go through again.

I am porting an H5 app to NT so there will be more questions to come :-)

/Poul