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.

formatting value lists

Featured Replies

I've got a search page that displays all the values in a value list as checkboxes. Does anyone know how I could possibly format the value list so it is more than one column?

custom web publishing, FMP 5.5 on Windows. Javascript is really my only scripting option.

For example:

current formatting:

[_] Item 1

[_] Item 2

[_] Item 3

[_] Item 4

[_] Item 5

[_] Item 6

desired formatting:

[_] Item 1 [_] Item 4

[_] Item 2 [_] Item 5

[_] Item 3 [_] Item 6

acceptable formatting, but not preferred:

[_] Item 1 [_] Item 2

[_] Item 3 [_] Item 4

[_] Item 5 [_] Item 6

Thanks for your help and ideas,

Carrie

Hi, Carrie! I think you should be able hard code the check boxes with the values and labels you want instead of using a valuelist. You can even custom control the tab order using a tabbing index (or something... I forget) option in your code if you want. Of course, you'll lose the flexibility of changing the value list without changing your code but that shouldn't be too bad if you don't have many q's and many changes often.

Maybe someone will come up something more clever?

--ST

If it is a dynamic value list you can use some Javascript to format into multi-columns.

Do a search for "columns". Here is one thread which may be of interest:

Display Multi-Columns

All the best.

Garry

p.s. I published a method here a couple of years ago which produces your "desired" method.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.