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.

Tabs on layouts that have scripts

Featured Replies

I've got scripts attached to some date fields. These scripts cause a mini pop-up calendar to appear. It seems that if you tab into the field, the script doesn't work properly...the calendar never appears. It works right if I click into the field. Does anybody have a solution?

Apart from getting a plug-in, you can disable tabbing and force the user to click by removing the field (or all of them) from the layout's tab order.

the plugin Vaghan is refering to is Event Scheduler from Waves In Motion. It'll let you trigger a script by tabbing in or out of the field.

  • Author

The Waves in Motion plugin works on field exit, not entry.

Vaughan: I've already taken the tabs out...what I wanted to know was there a solution that would let me put them back?

What if you put your tabs back in and attached the Waves in Motion plugin to the field before your calendar field in the tab order? That way the script would run when you exited that field and the calendar (the field you were tabbing to) would pop up at the right time.

goosetree,

exactly the thought I was going to put in. You beat me to it.

good call

  • Author

Nice try, but that won't work right. If the previous field (not a date field) requires changing, as soon as the user exits, the calendar will popup requiring the user to respecify a date, which in turn will cause the calendar to pop on the next field. These layouts (a whole bunch) get partially set up, and then the user adds / changes stuff as additional information becomes available.

To make all this work the way I think it should, Filemaker would have to do the following (I don't think I'll hold my breath waiting, given their abominable track record in fixing existing bugs):

1) Execute an attached script regardless of whether or not the user cursored or tabbed into a field (to me this is clearly a bug).

2) Allow us to turn off tabbing on a given layout under script control (really an enhancement).

What they've given us only works under very rigid conditions. I think I'm stuck without tabs.

Steve

Just to clarify things: I don't mean "tabs" as in paragraph formatting; I mean "tab order" as in Layout mode, "Set Tab Order" command. because if the fields are omitted from the tab order they cannot be tabbed into!

  • Author

Vaughan: I knew exactly what you mean't. Thanks, but I guess there is no good solution until FM gets off its collective butt.

Steve

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.