R
René
I've created a form in Word 2003 using form fields, created an xml schema,
registered it in Word and assigned XML tags to my form fields. Everything
works fine and the data is saved to an XML file if I say File=>Save as... XML
.... Data only. Then I replace one of the text form fields
(wdFieldFormTextInput) with a dropdown form field (wdFieldFormDropDown) to
let the use choose from a list of predefined values according to the valid
values defined in the schema with <xs:SimpleType><xs:restriction
base="xs:string"><xs:enumeration value="TestValue1">...
After that I receive an XML error from the validation because the XML tag
has no value, no matter what item in the drop down field I am choosing.
I cannot believe that drop down fields are not working with XML data. Please
give me advice on what to do with this issue.
Many thanks in advance
Cheers René
P.S. I've also tried to save the document as plain text and found out that
values from the drop down fields are only saved if I activate the option
"insert line breaks". Very strange
registered it in Word and assigned XML tags to my form fields. Everything
works fine and the data is saved to an XML file if I say File=>Save as... XML
.... Data only. Then I replace one of the text form fields
(wdFieldFormTextInput) with a dropdown form field (wdFieldFormDropDown) to
let the use choose from a list of predefined values according to the valid
values defined in the schema with <xs:SimpleType><xs:restriction
base="xs:string"><xs:enumeration value="TestValue1">...
After that I receive an XML error from the validation because the XML tag
has no value, no matter what item in the drop down field I am choosing.
I cannot believe that drop down fields are not working with XML data. Please
give me advice on what to do with this issue.
Many thanks in advance
Cheers René
P.S. I've also tried to save the document as plain text and found out that
values from the drop down fields are only saved if I activate the option
"insert line breaks". Very strange