5 Replies Latest reply on Apr 29, 2011 5:10 AM by pguerett

    Populating a drop-down field with bilingual data based on form locale

    nat_s Level 1

      Hello,

       

      I'm creating a form that has several drop-down lists of values. These values are kept in an xml file that is linked to the XSD schema that we are using as the Data Connection in our form. We have not been able to figure out how to change the values displayed in the drop-down list based on the language of the form (determined by checking the Form Locale). The xml element that contains the data is a simple type. When the form is displayed, the English values appear in the drop-down, but if we change the form's locale to French, we still get the English values. I figure we need to use scripting to accomplish this, but I haven't been able to find any sample code of how to do this anywhere.

       

      Can anyone please help me with this?

       

      Thanks!