NetTalk Central

Author Topic: Field not found: USEJAVASCRIPT  (Read 2359 times)

Poul Jensen

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • Email
Field not found: USEJAVASCRIPT
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Field not found: USEJAVASCRIPT
« Reply #1 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

Poul Jensen

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • Email
Re: Field not found: USEJAVASCRIPT
« Reply #2 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