Jump to content
Server Maintenance This Week. ×

Weird behavior with Checkbox Set using Value Lists from Second field


Recommended Posts

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?

Link to comment
Share on other sites

Posted (edited)

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
Link to comment
Share on other sites

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
  • Thanks 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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