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.

Javascript (window.print() ) in FM 7 Pro

Featured Replies

  • Newbies

Back in the old days...

No really I have no ability to force the owner of this machine to update their software but I want to allow them to print the current record in a web view environment.

If I choose print on the browser I print the entire control interface + the record.

Basically I need to be able to insert some javascript and execute it within the record or an element.

Have tried a script with an "Open URL[No Dialog; ] element but it seems to require the beginning of the URL to begin with 'http://' which defeats my purpose. I've tried the string 'javascript:' instead of 'http:' but no luck.

Other posts have suggested OpenURL but I suspect they are for later versions of FM. Another one suggested "Set variable =" but that is not an option on FM 7.

Thanks,

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.