Combobox in Dialogbox

Hi,I want to change values of a combobox with another combobox both contained in a dialogbox.

example :

when

combobox 1 = Fruits

then

combobox 2 = Apple,orange …

when

combobox 1 = vegetables

combobox 2 = carrots,…

thanks

Subject: Combobox in Dialogbox

Go through this code -

Paste this code as .html and then check it out.

–Phani

Subject: Combobox in Dialogbox

use a formula for the choices of the second combobox, and set"Refresh fields on keyword change" for Combobox1 and

“Refresh Choices on document refresh” for Combobox2

formula for the choices of Combobox2:

FruitList:=“Apple”:“Banana”:“Grape”:“Raspberry”;

VegList:=“Beans”:“Corn”:“Tomato”:“Squash”;

DefaultList:=“None”;

List:=@If(Combobox1=“Fruits”;FruitList;Combobox1=“Vegetables”;VegList;DefaultList)