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.

Weird behavior with Checkbox Set using Value Lists from Second field

Featured Replies

Hi,

There is a weird behavior occuring with a couple Checkbox Sets (not all of the sets present in the layout):
1. When the user selects Checkbox #5, the selected value is correct but the visual indicator of the checkbox goes to Checkbox #3.
2. When the user selects a Checkbox #6, the value is correct but the visual indicator of the checkbox goes to Checkbox #4
3. When the user selects a Checkbox #7, the value is correct but the visual indicator of the checkbox goes to Checkbox #4
4. When the user selects a Checkbox #8, the value is correct but the visual indicator of the checkbox goes to Checkbox #3

This happens using the "x" mark or the "Check" mark. Deselecting the Checked values becomes a messy challenge, because more values appear selected:
5. When the user selects Checkbox #8 again, the visual indicator of the checkbox goes to Checkbox #5!

Repositioning and resizing the field that contains the Checkbox Set, deleting the fields and starting over, and changing the Value list fields (and back) didn't fix the behavior. At first, it seemed to be related to lists with more than 12 values, but further testing a list with over 100 values performed fine. It doesn't matter if the values are plain words, or if they contain numbers, percentages, accents, or dots (COVID-19, 98%, .)

What on Earth is going on with the Value lists #3-8?

See if you can reproduce the problem (and only the problem) in a brand new file. If so, post the file here.

 

  • Author

Thank you, Comment,

The Checkbox Set in English, upon quick inspection, seems to be fine. The Checkbox Set in Spanish messes up the selection, even though both sets pull the data from the same value list.

Best regards,

Daniel

weird checkbox.fmp12

Edited by Quito
Clarification

Hm, what a strange thing indeed.

I have never seen such thing, and I would have to run another test or two to be sure, but this is my preliminary diagnosis:

Your values are very long, and some of them are identical to others except for a few words at the end. For example, the values under General and Transmission are identical for the first 767 characters. Filemaker indexes only the first ~100 characters. If you look at the field's index, you will see that there are only 3 entries that start with "(COVID 19" - although there are 8 such values.

So what probably happens is that when you select Transmission, the correct value is entered into the field - but when Filemaker looks for the corresponding label, it finds General and attaches a check mark to that.

I would suggest you use IDs as the values to enter into the field and use a relationship to get the long descriptions. Or (if possible) make sure that the differences between the descriptions occur within the first 100 characters.

 

Edited by comment

  • Author

Thank you, Comment,

Fortunately, it was possible to modify the values just enough to make them different, regarding the first 100 characters.

All is well now.

Best regards,

Daniel

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.