Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a list box with a set of values, and I want to force the user to choose only one at a time, not as many as he wants, how can I do this?
Thanks
Alexandra
Hi alexandra,
Select a value in the list box & then go in Properties - > General Tab , there is a property "AtLeast one selected value" check that, which will force user to select at least one value at a time.
Regards
Amar
This Box is selectible if you have selected only one value from the list.
Hi,
Seems, that parameter doesn't work for expressions, but only for "regular" fields:-(
Oh.... that's probably it... I'm not sure I can do it without being an expression though...
Thanks for your help
Hi!
But maybe you can add this expression into your loading script.
You cannot use "Always One..." in a calculated list box, but you can apply it to the underlying field, the one that you use in the expression.
So you want either 0 or 1 value to be selected, but never more than one? Here's an example of using a macro to do it. If more than one value is selected, it immediately deselects all but the first selected value. There might be a better way than using a macro, and for this specific case, there's probably a simpler macro (this was adapted from a macro to allow 1 to 5 values to be selected).