Skip 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.

Password script Question

Featured Replies

I am having a problem with my username and password entry. When it verifies the two fields it takes only a partial username or even just a first letter if the password is correct. Here is part of the script which checks the fields. It goes on to tell the user to try again. I would appreciate any feedback.

Enter Find Mode []

Set Field ["klc_staff_username", "staff_username"]

Set Field ["klc_staff_password", "staff_password"]

Perform Find []

If [status(CurrentFoundCount) = 0"

This is proper. It's the way finds work in FM. You will need to do an exact find.

Set Field (field, "=" & "username")

-bd

  • Author

Thanks for your prompt reply. So I will need to list all the usernames and passwords in the calculation as aposed to finding them in the database. Excuse my "noviceness". Thanks in advance.

n

I hope you don't mind a fresh perspective.

We use a password entry system.

individuals fields

password (text)

username (text)

login details (calc text) password & ":" & username)

Three fields for checking validity

password.gl (global text)

username.gl (global text)

check login (calc text) (password.gl & ":" & username.gl)

Then a relationship confirmlogin (check login to login details)

Then your script is simple, and no find to contend with.

If (IsEmpty(password.gl) or IsEmpty(username.gl)

Show message " not all information completed"

Exit Script

End If

If (IsValid(confirmlogin::login)

GoToRelRecord(show only related)confirmlogin

Enter the rest of your standard login here

Else

Show Message "Incorrect Entry"

End If

A change of direction...to be sure!

I again want to enetr a very strong word of caution about the user log on systems. If security is your purpose in using them, be extraordinarily careful. Thre are many, many loopholes in almost every one of these systems I have ever seen. And I have seen a great number of them.

HTH

Old Advance Man

Ok so in saying that and with your experience in seeing many solutions what do you consider is the best method - do you have examples?

Greg

[ February 26, 2002, 07:23 PM: Message edited by: gwmbox ]

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.