Deluge script to change currency field's currency dynamically on form

Deluge script to change currency field's currency dynamically on form

Hi,

I have a currency selection field based on which I would like to change another the field's currency. For eg I have  2 currencies say HKD and AUD and an amount field of type currency set to AUD (by default) wherein the user can input amount. So if a user selects HKD then I want to change the currency field to HKD from AUD for the amount field.

Can this be done? If not what is the best solution.

-Nitin