How to script drop down list box

P

Peter

Hi

I am using InfoPath 2007, Sharepoint 2007. The form is Brower-Enabled.

I have two non-repeating drop down list boxes. One for a list of Locations
and the other is for a list of Deparments. Locations and Deparments are
related, If the user chooses Location A in the drop down, it should show all
deparments of location A in Department drop down combo box .

I don't have access to any database end. I understand I can put the data in
the XML or just hard-code them in the script.

How can I write code to accomplish this?

I am very new at this; please help.

Thanks
Peter
 
Top