Maximum number of choices in a Reference field

nealratner
Mega Expert

We are setting up a regional component on a form so that when a user selects a country, they can select a state (dependent) from that country.   We are running into an issue in that we believe the number of US states is too many and causing our droplist to change into a "lookup."   We are using a reference table for choice lists, and this works fine with all other fields except this one.   We tried to utilize the glide.xmlhttp.max_choices attribute, but that is only for "system" selections and not for a standard field.   Is there some way to set up a reference/choice list so that it can have 50+ selctions?   I'm assuming it would have to scroll.   Hopefully this is some simple attribute we just haven't been able to find yet...

Screen Shot 2016-09-06 at 1.33.55 PM.png

1 ACCEPTED SOLUTION

nealratner
Mega Expert

Hi Michael, We are in Helsinki if that matters.   I tried the --None-- previously and all other options.   We just tried adding the attribute max_ref_dropdown and set it equal to 100 and it worked.


View solution in original post

4 REPLIES 4

Michael Fry1
Kilo Patron

Can you screen shot the dictionary view for those fields?


nealratner
Mega Expert

This is the exact same configuration we have for our other fields that work.   When we change this reference to a shorter list <25, it works as expected.



Screen Shot 2016-09-06 at 2.41.44 PM.pngScreen Shot 2016-09-06 at 2.41.24 PM.png


I really don't see any issues and we have reference fields with 100s of choices with no issues.


Under Choice List Specification tab:     Choice, try setting that to - - None - - and see if that has an affect.


nealratner
Mega Expert

Hi Michael, We are in Helsinki if that matters.   I tried the --None-- previously and all other options.   We just tried adding the attribute max_ref_dropdown and set it equal to 100 and it worked.