How to check two conditions in the dialog object rules?
Posted: Wed Mar 24, 2010 4:46 am
Hi,
I have a dialog in which a field (a textbox) is steered by another field (a checkbox).
If the checkbox is "checked" then the textbox is enabled and a user must provide a value to that field.
Now my question is: how to disable the next button if the user didn't provide the textbox value?
In pseudo language it would be:
if (checkbox.Enabled AND textbox.Text == "")
Next.Enabled = False
How to achieve that using the dialog object rules? I see only one condition there...
Best regards,
adi
I have a dialog in which a field (a textbox) is steered by another field (a checkbox).
If the checkbox is "checked" then the textbox is enabled and a user must provide a value to that field.
Now my question is: how to disable the next button if the user didn't provide the textbox value?
In pseudo language it would be:
if (checkbox.Enabled AND textbox.Text == "")
Next.Enabled = False
How to achieve that using the dialog object rules? I see only one condition there...
Best regards,
adi