R
rajuws
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">
<RangeCheck Comparator="LE" SoftHard="Hard">
<CheckValue>31</CheckValue>
<ErrorMessage>
<TranslatedText xml:lang="en">The value should be between 1 and
31</TranslatedText>
</ErrorMessage>
</RangeCheck>
<RangeCheck Comparator="GE" SoftHard="Hard">
<CheckValue>1</CheckValue>
<ErrorMessage>
<TranslatedText xml:lang="en">The value should be between 1 and
31</TranslatedText>
</ErrorMessage>
</RangeCheck>
</ItemDef>
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">
<RangeCheck Comparator="LE" SoftHard="Hard">
<CheckValue>31</CheckValue>
<ErrorMessage>
<TranslatedText xml:lang="en">The value should be between 1 and
31</TranslatedText>
</ErrorMessage>
</RangeCheck>
<RangeCheck Comparator="GE" SoftHard="Hard">
<CheckValue>1</CheckValue>
<ErrorMessage>
<TranslatedText xml:lang="en">The value should be between 1 and
31</TranslatedText>
</ErrorMessage>
</RangeCheck>
</ItemDef>