Well, in my quest for a fully translated InfoPath form, I've come upon another scenario that I need a little guidance with.
I have a dropdown on my form called <visit_type>. This drop down has Four static values in it (it's not wired to a database or Sharepoint list).
I have another drop down on my page that gives the user a choice in language (English, French, etc.).
Currently, I have code that when a user chooses a language, several labels on the form have their values updated (if you are interested, you can check the code out here).
So, what I would like to do is add a section to my setTranslations() function that would loop through <visit_type> or if necessary destroy and re-create the drop down with the desired tranlsations (using the tranString() function). Is this possible? If so, how?