We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

cagura
Posts: 10
Joined: Thu Feb 08, 2007 3:44 pm

Set dialog field based on another field

I want to update one field based on information that is updated from another field.

I have a DBTYPE parameter that is a Radio selection, the user can select either oracle / sybase. If they select oracle, I want to update the DBPORT in the same dialog which is a drop down select box to select 1521. If sybase is selected then select 5000. The user can then select any port they want to.

All this is in one dialog box and I don't want to user to have to select a button to make the update occur.

How can this be done?

Charles
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Charles,

This can be achieved very easy using Advanced Installer. What you need to do is to use same "Property Name" for both RadioButtonGroup and ComboBox controls.

Also you need to have same values ("Properties" list) for the radio items and for the items in ComboBox. In this way when you select a radio button the combo box will be automatically updated with corresponding value.

Let me know if you encounter any problems.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”