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.

Text display < checkbox set < portal lines?

Featured Replies

  • Newbies

Hello all

First of all hello to all, new here and new to Filemaker (as you will understand lol)

I would like to ask for an idea on how to make something to work and if its possible.. it might be a bit complicated (or atleast to me it is)

Ok, here's my problem.. I have 3 tabs, on first tab i want to display a text field RANK1 (will get to this). On second tab i have a checkbox (Box1) of 5 values (Val1, Val2, Val3, Val4, Val5) and on 3th tab i have a portal in which i will write some things.

What i want to do is, based on how many lines i have on portal to autocheck Val5. Also some of the Val's will be hand checked.. When all 5 Val's are checked i want to show on the first tab Rank1 and so on.. after the first Box1 is filled will go to Box2 which after its filled will show Rank2.. (i hope i made it understandable, english ain't my language). Portal, checkboxes and text field are in 3 different tables which are connected with a serial id made on creation of record..

I think im way over my head here

Thank you in advance :P

The Rank field could be a calculation field which uses the Case function. It would be something like:

Case(not IsEmpty(Val1) and not IsEmpty(Val2) and not IsEmpty(Val3);"Rank3";

not IsEmpty(Val1) and not IsEmpty(Val2);"Rank2";

not IsEmpty(Val1);"Rank1";

"")

I have left out Val4 and Val5 but you get the idea. Does this help?

  • Author
  • Newbies

No not really (told you im way over my head lol)

Basicly what im trying to do is, tick a checkbox based on a count() number which counts the rows in a portal.. If the count() gives 5 it will check that box.. After that when all the check boxes are filled it will change the rank on another page..

Mayb your code helps but i couldnt make it work (new at programming). And also i think im doing it wrong, maybe i should learn about conditional values.. since all the values i have are custom ones

Thank you for taking the time :

Perhaps you should explain what is the purpose behind all this. The basic flaw in your proposed method (as far as I could understand it) is that counting rows in a portal is a calculation, while ticking checkboxes is a user action. These two do not mix well in the same field.

It may be possible to check the count when user modifies the field, and auto-enter a combined value. However if the count changes (by adding or deleting a related record) nothing will happen to the field, unless it's an unstored calculation field - and users cannot modify a calculation field.

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.