This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Dialog - Disabling / Enabling Edit fields via condition
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2010
06:30 AM
Dialog - Disabling / Enabling Edit fields via condition
Hello,
I have a problem with customizing the "CustomerInformation" dialog:
I have a combobox with 2 options(/items) "TYPE1" and "TYPE2". When "TYPE2" ist selected by the user I want to disable two edit fields and enable them again, if "TYPE1" is selected.
So I added two conditions to every edit field:
1.) Action: Disable Condition: TypeBox="TYPE2"
2.) Action: Enable Condition: TypeBox="TYPE1"
But this doesn't do anything. Do you have an idea what I'm missing?
With kind regards
I have a problem with customizing the "CustomerInformation" dialog:
I have a combobox with 2 options(/items) "TYPE1" and "TYPE2". When "TYPE2" ist selected by the user I want to disable two edit fields and enable them again, if "TYPE1" is selected.
So I added two conditions to every edit field:
1.) Action: Disable Condition: TypeBox="TYPE2"
2.) Action: Enable Condition: TypeBox="TYPE1"
But this doesn't do anything. Do you have an idea what I'm missing?
With kind regards
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2010
10:21 AM
I think the behaviour you are seeing is consistent with the way combo/text boxes work.
The value is only set once the dialog proceeds to the next screen or goes back.
Try this, select 'Type2', press next on the dialog.
Then on the new dialog press back, this will hopefully show you the controls being disabled.
I would suggest you use a radio group, or checkbox if there are only two value in the combobox.
Vijay.
The value is only set once the dialog proceeds to the next screen or goes back.
Try this, select 'Type2', press next on the dialog.
Then on the new dialog press back, this will hopefully show you the controls being disabled.
I would suggest you use a radio group, or checkbox if there are only two value in the combobox.
Vijay.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2010
08:01 AM
Thanks. With a radio group it works fine.
With kind regards
With kind regards
