Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

xml for loop and validations

$
0
0

Tags: none(add)#pdf#adobe#script  

 

Hi to all,

My data is in xml file ,so i have to bind with xdp template. My problem is i have 66 text fields ,but my xml is only 10 records, based on some condition the value is to display in the text field .but the data is displayed row wise.It is very urgent.i insert my xdp template ,compare borewell id and material id ,which is also in xml file below u find my xml code.how to write java script and in which event.

 

thanks to all.

-<source>

-<data>

 

-<ResultSet>

 

-<row>

 

<ID>1000102</ID>

 

<ES_ID>1000061</ES_ID>

 

<START_DATE>2013-09-01</START_DATE>

 

-<SYS_CRE_USER>

 

-<SYS_DELETED>0</SYS_DELETED>

<MAT_ID>1000078</MAT_ID>

 

<CON_AMOUNT>785.0</CON_AMOUNT>

 

</row>

-<row>

 

<ID>1000103</ID>

 

<ES_ID>1000061</ES_ID>

 

<START_DATE>2013-09-01</START_DATE>

 

-<SYS_CRE_USER>

 

-<![CDATA[]]>    

</SYS_CRE_USER>

 

<SYS_DELETED>0</SYS_DELETED>

 

<MAT_ID>1000079</MAT_ID>

 

<CON_AMOUNT>500.0</CON_AMOUNT>

 

</row>

-<row>

 

<ID>1000104</ID>

 

<ES_ID>1000061</ES_ID>

 

<START_DATE>2013-09-01</START_DATE>

 

-<SYS_CRE_USER>

 

-<![CDATA[]]>    

</SYS_CRE_USER>

 

<SYS_DELETED>0</SYS_DELETED>

 

<MAT_ID>1000080</MAT_ID>

 

<CON_AMOUNT>0.0</CON_AMOUNT>

 

</row>

-<row>

 

<ID>1000105</ID>

 

<ES_ID>1000061</ES_ID>

 

<START_DATE>2013-09-01</START_DATE>

 

-<SYS_CRE_USER>

 

-<![CDATA[]]>    

</SYS_CRE_USER>

 

<SYS_DELETED>0</SYS_DELETED>

 

<MAT_ID>1000081</MAT_ID>

 

<CON_AMOUNT>500.0</CON_AMOUNT>

 

</row>

-<row>

 

<ID>1000106</ID>

 

<ES_ID>1000061</ES_ID>

 

<START_DATE>2013-09-01</START_DATE>

 

-<SYS_CRE_USER>

 

-<![CDATA[]]>    

</SYS_CRE_USER>

 

<SYS_DELETED>0</SYS_DELETED>

 

<MAT_ID>1000082</MAT_ID>

 

<CON_AMOUNT>450.0</CON_AMOUNT>

 

</row>

-<row>

 

<ID>1000107</ID>

 

<ES_ID>1000061</ES_ID>

 

<START_DATE>2013-09-01</START_DATE>

 

-<SYS_CRE_USER>

 

-<![CDATA[]]>    

</SYS_CRE_USER>

 

<SYS_DELETED>0</SYS_DELETED>

 

<MAT_ID>1000083</MAT_ID>

 

<CON_AMOUNT>56.0</CON_AMOUNT>

 

</row>

-<row>

 

<ID>1000108</ID>

 

<ES_ID>1000061</ES_ID>

 

<START_DATE>2013-09-01</START_DATE>

 

-<SYS_CRE_USER>

 

-<![CDATA[]]>    

</SYS_CRE_USER>

 

<SYS_DELETED>0</SYS_DELETED>

 

<MAT_ID>1000084</MAT_ID>

 

<CON_AMOUNT>586.0</CON_AMOUNT>

 

</row>

</ResultSet> 

</data>

</source>

</sources>

</envelope>

xdp template.png


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>