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.

Tab Question--possible script

Featured Replies

I have a tab control with 6 tabs.

1-sheet 1

2-sheet 2

3-sheet 3

"""""

"""""

Inside each tab i have a container with a picture

so in total i can have up to 6 jpegs.

So what im trying to do is have a field populate with something like "1 of 6" depending of how many pictures i have in my tabs. So for example is the sales person put 3 Jpegs in Total (utilizing 3 tabs) i want the field to say "1 of 3" in that case everybody know how many pictures we have to a certain record. THis will help us so we don't have to look at every tab.

Any Ideas.

THanks

Hi

this can be solved with the Count ( ) function.

If those picture are stored in a repeating field of 6 repetition, the calc is very easy:

Case(

Count( repeatingField );Count( repeatingField ) & " of 6";

""

)

If those fields are 6 "normal" fields:

Case(

Count( Field1;Field2;Field3;Field4;Field5;Field6 );Count( Field1;Field2;Field3;Field4;Field5;Field6 ) & " of 6";

""

)

  • Author

Thank you very much..... It worked!!

  • Author

So on the same note. What can i do if i want the Page # to change everytime i go tab #2,and tab 3 and so on. for example if there are 4 jpegs out of 6 tabs, and everytime i go to tab 2 i want the number to show "2 of 4", then if i go to tab 3 i want it to show "3 of 4" I hope this makes sense. It probably would be driven by a script when i click on the tab.

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.