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

I would like to have my license agreement open the first time someone opens my DB and once they agree to it the DB opens without the license agreement from that point on.

Try this:

Make a layout that will be your license agreement. On it, you should have a button that says "I Agree." Make a field called lic_agree.

Make a script that goes like this:

Set Field [lic_agree, "Agree"]

Go to Layout [main layout]

attach this to the "I Agree" button.

Do a similar script for the Decline button

Then make a script that will run at start up. It goes:

If [lic_agree = "Agree"]

Go to layout [main layout]

Else

Go to layout [license agreement layout]

Then go to Edit/Preferences/Document, check Perform script and select this script

You should be able to figure out the rest.

Let me know how it works

Ken

  • Author

Ken,

I'm still a little fuzzy about this...

Once the user agrees to the license I don't want it opening again in the startup...

One time deal...

Is it possible?

Michael,

From what ken has written this is a once only deal.

The field lic_agree starts empty (or with disagree)

With the script set to perform on startup, it checks the lic_agree. If this doesn't contain agree the user is taken to the license where they agree or disagree.

If they agree then lic_agree now has agree in it.

The next time they open the file, the script runs to check if they did agree. As they did they are taken to a different layout.

They will never see the license again.

Is this any clearer?

quote:


Originally posted by Michael Huddleston:

Ken,

I'm still a little fuzzy about this...

Once the user agrees to the license I don't want it opening again in the startup...

One time deal...

Is it possible?

  • Author

Thank you Andy!

That helped a lot!

One more thing:

Make the "lic_agree" field a global field that returns text.

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.