Copy value from one field in subform, to another field in a different subform


hi all.  have been , forth enterprise support, , telling me want impossible.  find hard agree with, hoping can here.  have document creating, based off xml.  page consists of header subform, flowing table of variable name, , footer.  problem comes in, when table flows mutliple pages, header subform not repeat, though have set overflow header.  according enterprise support, design.  header repeat on footer page, if on separate page, not when table flows page.  so, came solution create additional header in table, merge cells 1 column, , copy subform new header.  set header appear on subsequent pages.  so, when preview document, shows static text fine, expect, text fields blank.  need way of copying values original header subform, newly created table header subform.  values different based on teh xml input, meaning first 3 pages have 1 set of values, , next 3 another, etc..  see sample below...

 

<namevaluelist>

     <namevalue>

          <namevaluename>name1<namevaluename>

          <namevaluedesc>desc1<namevaluedesc>

           <tablevaluelist>

               <tablevalue>

                    blah

               </tablevalue>

               <tablevalue>

                    blah 2

               </tablevalue>

          </tablevaluelist>

     </namevalue>

     <namevalue>

          <namevaluename>name2</namevaluename>

          <namevaluedesc>desc2<namevaluedesc>

          <tablevaluelist>

               <tablevalue>

                    blah 5

               </tablevalue>

               <tablevalue>

                    blah 6

               </tablevalue>

          </tablevaluelist>

     </namevalue>

</namevaluelist>

 

 

so, if bind original header namevaluename, show on first page has header, , third page has footer.  2nd page, has table flowed it, has blank value.  tried put code in initialize event of both text boxes, copy mainheader.namevaluename tableheader.namevaluename, didn't work properly. 

 

any ideas on how this?

have tried in initialize event of tableheader.namevaluename :

 

$.rawvalue = mainheader.namevaluename.rawvalue

 

when in script, can hold ctrl , click on field (mainheader.namevaluename), way have exact correct path.

 

otherwise, not sure if problem, have tried using masterpages?

 

hope help!

max



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?