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

Copy Text Across subform Instance

$
0
0

Everyone,

 

     I wil try and explain my issue to the best of my ability. I have a Subform (NonINDoorSF) which has a Fied called (form1.MemCSI.NonINDoorSF.Header.TextField20[1]) which I want it to copy that text to another fild in a Subform of that Sub Form called (form1.MemCSI.NonINDoorSF.Header.NonINSiteDoorSF.Header.Itemcode) whcih I was able to complete with a corm cal command of ;

 

 

form1.MemCSI.NonINDoorSF.Header.NonINSiteDoorSF.Header.Itemcode

=form1.MemCSI.NonINDoorSF.Header.TextField20[1];

 

Which that works fine for the first Instance of the subed subform but not the additional ones that apear based of the variable Drop down I have. I Tried to use the global binding but it will not work because I have a Add and Delete subform button the the Parent NonINSiteDoorSF. Each new instance of the Main Subform to be treated as its own new Parent.

 

Example

 

I fill out the Non invetory Subform fill in my Item code of "Milk" and then when I choose 3 sites I have it will auto fill those 3 sites with the item code of milk. Then when I click Add new Item button and we non inventory subform apears and now when I but in "20oz water" and choose 2 sites it fills those subsequent subforms. So when its all set and done I have 2 seprate item codes and the item code corrisponing site information. Please help I am very new to this and script writing and I have been banging my head on this one. I would up load the form but I cant figure out how to on the forum.

 


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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