NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on October 31, 2022, 03:21:52 AM
-
Hi Guys,
I would like to limit a user to only input a certain number of records in a NWB.
Example: 10 records.
I can limit the records per page, but is there a way to limit the overall / total records to be inserted for the NWB in that session?
-
I would create a session value.
Increment it each time they add a record.
Add a condition to the Insert button.
something along those lines anyway.
-
Thank you Bruce,
The record counter (if enabled for the NWB) is not perhaps stored in a session value somewhere?
Or can be accessed somewhere?
I am thinking in terms of the user returning to the browse at a later stage ...
-
If you use a session value, that value will remain until the session is logged out, That means that no matter the web page the user goes to, when returned to the browse the counter will remain the same value.
Obviously, you can also reset it to cero where you want.