NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rupertvz

Pages: 1 2 3 [4] 5 6 ... 21
46
Web Server - Ask For Help / Re: JavaScript Hand-code
« on: May 13, 2019, 01:32:41 PM »
Hi Bruce,

As an example, under the "JavaScript : OnChange" routine-embed of a NWF field,
I tried to add some JavaScript ...

Say I would like to set a sessionvalue:

if (window.innerWidth <= 1300) {
     SetSessionValue('SmallScreen','True')
     }

The script is working from the HTML tab of the NWF, but not when I try to include it in the field routine embeds?

47
Web Server - Ask For Help / Re: Error in Javascript
« on: May 13, 2019, 12:03:53 PM »
Thank you!

48
Web Server - Ask For Help / Re: Error in Javascript
« on: May 13, 2019, 07:19:30 AM »
I moved the "set for Debug" to "Web" under the performance tab.

The "Error in Javascript" still flashes, but now even more briefly ...?


49
Web Server - Ask For Help / Error in Javascript
« on: May 13, 2019, 07:08:05 AM »
Hi Guys,

I am receiving a red bar flash - very briefly - on my Index page showing "Error in Javascript".
This happens every time I click a new button, or go back to the Index page.

Which is the easiest way to find out what is causing the Javascript error?



50
Web Server - Ask For Help / JavaScript Hand-code
« on: May 05, 2019, 12:57:23 PM »
Hi Guys,

I've been trying to put some hand-code Javascript into a NWF, Field (Client Side, When Field Accepted in Browser)
I am unable to get the Javascript code to execute,

Not sure if I am using the wrong format in NT?

For example:  I would like to call a function from the hand-code JavaScript section
let myCipher = cipher('String')

51
Thank you Peter,

Working well ;-)

52
Web Server - Ask For Help / Session Value from within Javascript
« on: April 30, 2019, 02:39:54 PM »
Hi Guys,

Is it possible to set a session value from within a javascript condition?

53
Web Server - Ask For Help / IsMobile and Screen Size
« on: April 30, 2019, 01:36:52 PM »
Hi Guys,

Now that "IsMobile" is no longer supported in NetTalk 11 ...

Is there a way to have a condition in an xHTML routine, only to display on desktop workstations?

54
Web Server - Ask For Help / Menu image: Break after Image
« on: April 26, 2019, 02:40:51 AM »
Hi Guys,

I have a menu item, with an item menu.
The "break after image" is set to "no",

But the image is still in a separate line, above the menu item.

55
Web Server - Ask For Help / Returning a Value
« on: April 25, 2019, 12:50:49 AM »
Hi Guys,

I have a process procedure which I call from NWF.
The process procedure should return a value,

However, the procedure runs on a new thread on the server side.

Can this be done?  Which is the best way to do this?


56
Hi Bruce,

a) Do you have a KEY on the C007:PFE field ?
I have a single key, with only one component on C007:Pfe (Not unique)
I also have other keys with C007:Pfe as a component

b) Is the key set as Case Sensitive?
No, this key is not case sensitive

c) Is the field a string or a long?
String(10)


57
Thank you Robert,

The filter works fine with less records
The problem seems related to the large data set.


I tried two different options in the template;

Option 1:
Kindly see screenshot attached, my filter value "Pfe" is stored in LOC:Pfe

Option 2:
'C007:Pfe = <39>'&p_Web.GetSessionValue('GLW:Pfe')&'<39>'

  * Where GLW:Pfe is my "Pfe" session value


58
When I remove the NWB filter, the NWB loads fine (showing all records)

When I replace the NWB filter, the more records matches the filter, the quicker the browse loads
With little or no records matching the filter, the browser times out.

59
Hi Guys,

I have a TPS table with 357,899 records which I am trying to link / view in a NWB.
I have a simple filter to display some of the records.

I am getting:

This page isn?t working - didn?t send any data.
ERR_EMPTY_RESPONSE

With less records the table contents display correctly.

Am I perhaps doing something wrong?  Or is this amount of records too many for a TPS table to display?

60
Web Server - Ask For Help / NWF Problem
« on: April 03, 2019, 01:10:16 AM »
Hi Guys,

I have an interesting problem, which I have not encountered before.
I have a NWF updating user details in a TPS table.

Upon inserting a new record, the User ID, e-mail address and SMS number auto-completes by itself when the form loads.  The value is from the logged on user's details, which is in a session value.

Even when I change the form to a popup, it still happens.
(It only happens to this form)

When I prime the first field "User ID" with a different value, say "ABC", it then does no longer auto-complete and uses the primed value.

Interestingly, the e-mail address and SMS number is then blank, no longer auto-completed - which is what is expected.

Any ideas?

NetTalk 8.71


Pages: 1 2 3 [4] 5 6 ... 21