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.

limiting portal results

Featured Replies

Is there a way to limit the results returned by a portal.

For example, I have a bunch of entries associated with a contest that all show up in a portal. What if I just wanted to see the entries from everyone from Texas in the portal?

Thanks,

Jeff

On the left side of your relationship, make a field named StateSelection, with a drop-down menu that includes state names attached to it. Make a second field name CalcStateSelection, equal to


Case ( 

  IsEmpty ( Trim ( StateSelection ) ) , 

   "All" , 

   Trim ( StateSelection ) 

) 

On the right side of the relationship, make a field called CalcContestState, equal to:

ContestState & "par.gifAll"

Add a join between the CalcStateSelection and CalcContestState to the original relationship.

This works because of the multiline key on the right side: A left-side selection of "All" will match everything on the right side, while selecting a specific state will match only the selection.

J

  • Author

Thanks, works just like I want it to.

  • Author

Ok, now I've got a follow-up question. If I wanted to select multiple states, is there a way to do that with a drop down menu? or would I have to switch to check boxes which take up more space than I would like

No easy way with a drop-down. You'd be best off with checkboxes.

Off the top of my head, I can't remember if the Trim function gets rid of pilcrows (the par.gif that separates entries in a checkbox field). If your portal suddenly doesn't work and you can't figure out why, consider removing the Trim function.

J

You can (or at least on a Mac you can) shift-click to select multiple values from a popup. Command-click for non-contiguous selection.

Now that I try it, you can do it on Windows, too. Another v7 thing I didn't know. comment, you are giving me an education today! (Just like any other day, really smile.gif )

J

  • Author

Thanks comment it did work, I just had to figure out that I had to hit enter after I clicked on my selections for it to actually register. Thanks for all your help too QuinTech.

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.