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.

Targeting Scripts within Tabs

Featured Replies

Greetings folks!

I've got two tabs set up, each containing fields from two separate tables. I've placed a button on each tab and have assigned the new record script to each button. When on "tab a", I want the new record button to enter a new record for the table represented on "tab a". When on "tab b", I want the new record to enter a new record for the table represented on "tab b".

However, when clicking the button on "tab b", it starts a new record on "tab a". Any idea how I can fix this?

Thanks in advance for your assistance!

- - Jeff

Is the layout's Show Records From setting the same as the table shown on Tab A (the one that works)? Unless you've set up scripts to specifically handle creates for the individual tables, then the record will be created for the table specified for the layout.

  • Author

Yeppers. The layout is set to show records from the table represented in tab A.

How would I script creating records for a specific table...which seems what I will need to do in order to create record for the table represented in tab b?

Thanks for your insight!

- - Jeff

Have a script for the TabB create that does the following sequence:

Freeze Window

Go To Layout [ ]

New Record Request

Go To Layout [original layout]

In other words, you have to go to a layout that is based on your TabB table in order to create a record for that table, then return to your A/B layout.

  • Author

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