Is it possible to change the field type in a repeating frame programmatically - InfoPath Dev
in

InfoPath Dev

Is it possible to change the field type in a repeating frame programmatically

Last post 09-18-2012 03:56 PM by infopath_newbee. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-18-2012 03:56 PM

    Is it possible to change the field type in a repeating frame programmatically

    Hi, 

    I have a form based on an XML schema. Below is part of the actual XML file. What I want is , when the custom field value name becomes "Payment Term Exception", I want to change the field type from "Text Box" to "Drop-down List Box" and set the values for the list box dynamically. is it possible ?

     Thanks 

     <CustomFieldValueSet name="AccountNumber">
                    <CustomFieldValue>
                        <Value>1001120006</Value>
                    </CustomFieldValue>
    </CustomFieldValueSet>
    <CustomFieldValueSet name="AccountObjectLink">
                    <CustomFieldValue>
                        <Value>VC11</Value>
                    </CustomFieldValue>
    </CustomFieldValueSet>

    <CustomFieldValueSet name="Payment Term Exception">
                    <CustomFieldValue>
                        <Value>free form</Value>
                    </CustomFieldValue>
    </CustomFieldValueSet>

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.