Dynamic field defintion in infopath form. - InfoPath Dev
in

InfoPath Dev

Dynamic field defintion in infopath form.

Last post 06-29-2007 08:24 AM by mantenar. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-29-2007 08:24 AM

    Dynamic field defintion in infopath form.

    Hi,

        We are using XML file to generate the infopath form.   We have a requirement to   define a field ( text box)  dynamically form based on the field definition in the  XML file.  The meta data of the  field , IT.AEENDAY exists in the XML. it  is a two  digit integer number.  There is a  range check in the XML document.  I want to know if the field can be defined dynamically based on these attributes in the input XML document.

    I think Xform should be able to generate the GUI based on this defintion.  Can it be done using Infopath. Please advise.

    <ItemDef DataType="integer" Length="2" Name="Stop Day - Enter a value 1-31" OID="IT.AEENDAY" SASFieldName="AEENDAY">

    <ItemDef DataType="integer" Length="2" Name="Stop Day - Enter a value 1-31" OID="IT.AEENDAY" SASFieldName="AEENDAY">

    <RangeCheck Comparator="LE" SoftHard="Hard">

    <RangeCheck Comparator="LE" SoftHard="Hard">

    <CheckValue>31</CheckValue>

    <CheckValue>31</CheckValue>

    <ErrorMessage>

    <ErrorMessage>

    <TranslatedText xml:lang="en">The value should be between 1 and 31</TranslatedText>

    <TranslatedText xml:lang="en">The value should be between 1 and 31</TranslatedText>

    </ErrorMessage>

    </ErrorMessage>

    </RangeCheck>

    </RangeCheck>

    <RangeCheck Comparator="GE" SoftHard="Hard">

    <RangeCheck Comparator="GE" SoftHard="Hard">

    <CheckValue>1</CheckValue>

    <CheckValue>1</CheckValue>

    <ErrorMessage>

    <ErrorMessage>

    <TranslatedText xml:lang="en">The value should be between 1 and 31</TranslatedText>

    <TranslatedText xml:lang="en">The value should be between 1 and 31</TranslatedText>

    </ErrorMessage>

    </ErrorMessage>

    </RangeCheck>

    </RangeCheck>

    </ItemDef>

    </ItemDef>

     

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