Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vlad_komarov
Partner - Specialist III
Partner - Specialist III

Show/hide a field in multibox

Hello,

Just checking if anybody knows the way to show/hide a field in Multibox (similar to "Conditional" option in chart's expression, for example).

Any suggestions will be appreciated.

Best regards,

Vladimir

1 Solution

Accepted Solutions
Anonymous
Not applicable

PFA,

In THis way you can enable disable a field in Multibox

View solution in original post

14 Replies
MayilVahanan

HI

There is no option like that in multi box upto my knowledge..

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Gysbert_Wassenaar

No, not really. You can use a variable to use in an expression in the multibox. If the variable contains a field name then this is shown in the multibox, if the variable is empty there will still be a selection 'row' in the multibox, but there's nothing to select. You could do it with a macro by simply removing and adding the fields or expressions using the RemoveField and AddField methods of the multibox control.


talk is cheap, supply exceeds demand
Anonymous
Not applicable

If use variables, create two multiboxes, and show conditionaly one or another depending on variable.

Regards,

Michael

vlad_komarov
Partner - Specialist III
Partner - Specialist III
Author

It would be the easiest question to answer if it would be one. Thanks, but I was looking for non-trivial solution.

vlad_komarov
Partner - Specialist III
Partner - Specialist III
Author

Thanks, I will try that.

Regards,

Vladimir

vlad_komarov
Partner - Specialist III
Partner - Specialist III
Author

Michael,

Unfortunatelly your suggestion will not work in my case (I wish if it could be that simple). I have to use multibox with (potentially) up to 200 fields to select. The combination of the fields to display might be flexible.

So, I was looking for other solution(s). It looks like the macro is the only choice.

Regards,

Vladimir

MayilVahanan

Hi

I thought, you want just confirmation about that option..so i just told the information.

PFA

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
vlad_komarov
Partner - Specialist III
Partner - Specialist III
Author

Thanks, your example is close to the idea I've tried first, but I need to hide the whole row when the data is not avaialble (selected in your case) and not the "Fields Displayed" part only.

Regards,

Vladimir

Anonymous
Not applicable

PFA,

In THis way you can enable disable a field in Multibox