I have a drop down list box with numbers from 1-8. Whatever number the user selects is the number of columns the table will have. This works great. However, there are conditions where a user could select other controls on the page that would make their selected number of columns invalid. What I want to do in that case is, 1) disable the “Go” button and 2) add some text that explains why they have to select a lower number (fewer number of columns).
But, I cannot for the life of me figure out how to toggle the error text on and off as needed and, how to disable to “Go” button if the number selected from the drop down is invalid.
It’s a lot of explaining to describe the circumstances under which a number selected by the user might be invalid, but please note that this is by design and I’m trying to account for it in my code via disabling the “Go” button and generating some error text so the user can change things.
How on Earth do you 1) great say, an error dialog, 2) make text visible when I need warm the user, and 3) disable the “Go” button ? I’ve checked everywhere and I can’t figure this out.
In VB/C# (etc), you’d have something like, lblErrorMessage.Visible=true or cmdGoButton.Enabled=false. Or, you could just throw a message box up to warn the user. But I can’t find anything like that in WIX.
Please help.
THANK in advance !! Your time is much appreciated.
LT