Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Allowing only "x" number of records

Featured Replies

  • Newbies

HELP! I am a developer with an idea but I'm stuck. I want to create demo versions of my products where the user can enter two records but not be able to add anymore. I can do that with a script I wrote. However, I need a way to block them from simply entering into the field and "erasing" the record and repeatedly using the same two records. Am I making sense? Would appreciate any suggestions.

Using access privileges, disallow deletion of records and limit access to menu commands. Then create a "New Record" button with a script that creates a new record only if the status(CurrentRecordCount) is less than 2.

  • Author
  • Newbies

Thanks! I think I've done that. But correct me if I'm wrong - there is still nothing to prevent the user from clicking into the fields and "erasing" (backspace or whatever, like they are editing the field) and in reality keep making "records" even though they technically only have two to use. In other words, they only have two records but they can keep "reusing" them over and over. Can I prevent that?

I created a set of dummy records (seperate DB) which gets hidden from the user and when the system is shut down and reopened I had a script which recreated these records.

This ensured that they could change them during a session but soon as they quit it basically did a revert. smile.gif

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.