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.

Featured Replies

Is there a way to lock a field after the data has been enter? Thanks for the help

quote:

Originally posted by yalebulldog:

Is there a way to lock a field after the data has been enter? Thanks for the help

Eli, Eli. Eli....

Sure. Create a number field called "validation", auto enter data = 1.

Have your other field validate against that field Validation.

After you enter the data, have the number changed from 1 to 0 by script. Thereafter, as long as the Validation field =0, the data in the other field can not be changed by the user. It could be changed by script in some instances.

HTH

Old Advance Man

I make a script, and attach it to the field on the layout (so the field is a button). The script is simply:

code:


Allow User Abort [off]

If [isEmpty(field)]

Go to Field [field]

Else

Exit Record/Request

End If


If the field is empty they can enter it. If it is not empty the script keeps bumping them out. Obviously this only works if the user cannot select another layout.

Ouch! I forgot about that... Thanks OAM.

If you deselect the "allow entry into field" option, you don't have to worry about the tab key, but the Go to field script step will still work.

In my experience, if "allow entry into field" is unchecked, there is *no way* to enter the field.

Either way, the original post was about having control over data entry, not just locking users out.

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.