Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Block selections with condition

Good day!

In attached model i have four fields:

Spoint

Quantity

Date

Day

Is it possible to block selection for:

Quantity

Date

Day

if Spoint isn't selected?

My task is to allow select Quantity Date Day if i select one of Spoints

Thanks.

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Probably the easiest way is to put a transparent text box over the other listboxes that will hide itself when the user selects an Spoint value. In the attached example I've not made the text box totally transparent so you can see what happens when you select an Spoint value or clear the selections. The condition to show/hide the text box is on the Layout tab of the Properties window of the text box.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar

Probably the easiest way is to put a transparent text box over the other listboxes that will hide itself when the user selects an Spoint value. In the attached example I've not made the text box totally transparent so you can see what happens when you select an Spoint value or clear the selections. The condition to show/hide the text box is on the Layout tab of the Properties window of the text box.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Thanks, good idea))

But i choose other way: i select in properties of listbox Always selected one value

Not applicable
Author

I think you can give conditional display to the Date list box.

Give this conditional expression in the Date list box:

GetSelectedCount(Spoint)<>0

This way date list box will be seen only when at least one selection is made in Spoint list box