Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
I'm in trouble with a listbox.
I'd like to enable or disable a listbox when I select a field of another listbox.
For instance. I have two list box A & B.
If I select a field in listbox A, I don't want that the customer can select a field in listbox B.
Is it possible?
Thank you so much in advance.
That's the nice thing about it
In your second listbox, you put an expression that is says
"if yhere are not elements sected in the first list box, then show the field, otherwise do nothing"
Go to the second list box properties, and check the expression. It's really simple.
I wrote this expression on my ListBox:
if ((isnull(getfieldselections(LB1, ',', 10))='-1'),LB2)
but it doesn't work like your example.
What's wrong in my expression?
Thanks a lot
OK, Understood.
You have to insert the expression where you choice the fields of the ListBox. In the list of the Fields there is <expression>.
Thanks a lot.