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.

Can I add scroll bar at a checkbox list?

Featured Replies

I just wanted to ask, Is there a way to have a scroll bar in my checkbox set filed.

I have a value list that takes data from a table. So I do not know how many are going to be all the items in my checkbox list. I would like to have the ability to add a scrollbar. I cannot see this in field properties.

Wouldn't it be nice. Unfortunately, can't be done.

A simple feature that would be so useful in the next version... ;)-)

Sorry.

James

As the data for the list is coming from a table you could display this as a portal WITH SCROLL BAR. Some scripting will be needed to set the data value selected from the portal.

Hi comment

on windows disabling the Freeze Windows is better.

Can I know why did you use that script step ?

Because I never know what will flash on Windows, and because this is a simplification of a more complex file where Freeze Window was required.

I don't see a difference. What I DO see is that if you paste a second copy of All Attributes portal next to the first, and fire the first (with Freeze Window) then there is more jump.

But simply disabling Freeze Window[] with the one portal being viewed makes no difference.

  • Author

yes you are right I can do that but I have to make a hole table with a relationship for just some attribute I need to check. The problem starts when I have more that 10 boxes

Thanks anyway

  • 3 months later...

Hello,

This is a very helpful file for a project i am currently working on. The file is called "Scroll Checkbox.fp7" posted on 06/15/09.

Can anybody help me on how can I change the Attribute IDs.

Thank You in advance.

Edited by Guest

Your question is not clear.

How can I change the Attribute "Alpha, Bravo, Charlie, Delta....." to "Hospital, Clinic, Urgent Care....."

Go to the Attributes layout and change the values in the Attribute field - or delete the existing records and create your own.

Great! Thank You so much for you help.

I was able to change the attribute. is their a way i can import the fm file to my orignal file and still keep all my info.

MV

Edited by Guest

The technique is quite simple and requires only one relationship and one script - I'd suggest you use the demo file to see how it works, then implement it in your own file.

Everything is working Great! Thank You for all your help.

In the scroll bar menu how can you make the "check" visible when you click in the check box?

MV

Edited by Guest

  • 1 year later...

can anyone explain how to return the list of checked items back to a paragraph separated list?

thanks

There is nothing to return back - the field already contains a return-separated list of checked items. It's only formatted to DISPLAY as checkboxes.

what i need to extract is the name associated with the number. so the field is filled with 1 as the object id and then the attribute as alpha for example. what i want to know in summary is have a list of all the attributes that correlate to that item. to return a list of all checked items by attribute not by object id. does that make sense? only cause the client wants to see what is assigned to the item in a short list rather than scroll a long portal of thousands of items to see which are checked.

  • 5 years later...
On 6/15/2009 at 3:36 PM, comment said:

Exactly - and not very difficult either:

Scroll_Checkbox.fp7.zip

Found this and works perfectly! Thanks for that. The reason why I prefer it over regular checkboxes is that value lists can change and cause problems on layouts when extend when more values are added in the source table, or when they are long in the first place. See attachment, on the right-hand side.

I applied it to a layout with a portal listing Departments. In a second portal, I use the values of checked items as a key to filter out another portal with Functions. I also added a similar portal below that one, listing Functions in UNchecked Departments. Still to do is adding yet another Portal, there will be Employees filtered by checked Functions. So this is a kind of cascading selection tool to limit the list of employees (200+) in the end. (Employees not shown in attachement.)

Now is there a way to sort the Functions (and Employees) portal so checked items float on top of unchecked items? This becomes important – especially in the UNchecked Department Function portal – so it is immediately apparent if other Functions (in UNchecked Departments) have been selected. (Example is the "Account Manager" that is checked and visible, but should be on top...)

Screen Shot 2016-04-28 at 12.06.03.png

Edited by Roeland De Windt
Added screenshot to clarify

Sort by checkbox, descending then the field you want, ascending, and check the box 'Keep records in sorted order

Hello Roeland, and welcome to the FM Forums,

4 hours ago, Roeland De Windt said:

Found this and works perfectly

 

Please update your Profile to show the version of FileMaker, OS and Platform you are using.

Lee

1 hour ago, Lee Smith said:

Please update your Profile to show the version of FileMaker, OS and Platform you are using.

Updated, Lee! I had a hard time finalising my registration (with details) from my company IP. Had to do it from my home IP, and then I forgot all about those details.

2 hours ago, Steve Martino said:

Sort by checkbox, descending then the field you want, ascending, and check the box 'Keep records in sorted order

Impossible. As the checkbox field is in the current file, I cannot select it for sorting. Only related files can be selected for sorting, and this is not the case using this technique. I could (and am already) sort by the name field of the Department, Function or Employee, as those are related tables.

Edited by Roeland De Windt

I would make the right hand checkbox set two columns wide, while possibly also reducing the width of your portals to the sub-tables.

On 4/28/2016 at 2:43 AM, Roeland De Windt said:

Now is there a way to sort the Functions (and Employees) portal so checked items float on top of unchecked items?

It's possible, but not exactly simple. I am not sure it's such a good idea, though. If you have that many options, I would suggest using two portals - one for selected options and one for unselected ones. I have posted a demo of this method

 

On 28 April 2016 at 0:15 AM, webko said:

I would make the right hand checkbox set two columns wide, while possibly also reducing the width of your portals to the sub-tables.

Webko,

Thanks for replying. The screenshot is a quick'n'dirty layout just showing the checkbox field to see what's going on under the hood. Will take them of the layout when done developing.

6 hours ago, comment said:

It's possible, but not exactly simple. I am not sure it's such a good idea, though. If you have that many options, I would suggest using two portals - one for selected options and one for unselected ones.

Comment,

Thanks. I came to the exact same conclusion and have it working: 1 portal for checked, and 1 for unchecked.

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.