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.

Required sign in Fields?

Featured Replies

I have a database for my clients that I want to require two fields for them to sign in with (name and password fields). I would like to avoid using the Web Security Database for configuration reasons.

What I have now is not working properly. All the client has to do now is fill in one of the fields to gain entry to the database. How do I create a login page that requires both fields to be filled in before allowing entry into the database?

Thanks in advance for you help

A couple of ways exist. These have been discussed recently in these forums. In brief, use the "-op" parameter:

<input type="hidden" name="-Op" value="eq">

<input type="text" name="name">

<input type="hidden" name="-Op" value="eq">

<input type="text" name="password">


The other way is to use Javascript to pre-validate the entries.

All the best.

Garry

  • Author

I have the -op parameter in place right now and it does not work the way I would like. If someone fills in the name field and not the password field and then presses submit, they get in. The same will happen if they fill in the password field and not the name field. Can point me to where I can find information on the "Javascript to pre-validate" ?

Thank you - Sam

You can do it in CDML and FM also, e.g. to use calc field with Name & Password and compare that...

How you will protect the databases against hacking?

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.