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

Can't hide field in repeatable subform;only hides first instance

$
0
0

I have a repeatable subform which has 5 fields. I have simple code in the intialize event of the page that the subform is in to hide the 2nd field, but it only occurs in the first instance but code does not work for instances other then the first one. If the subform repeats 4-5 times the field is only hidden in the first instance. I have simple code and even used instancemanager.count & occur but doesnt work here is simple code below

 

Apps.Fields.DateT.presence='hidden';  //adding this in Initalize event only hides first occurance of field DateT but all other occurances field shows up

 

if (Apps.Fields.instanceManger.count>=1)  // Same result as previous, only hides field in first occurance
{
Apps.Fields.DateT.presence='hidden';

}

SimpleSubform_Repeat.jpgDataFilexml.jpg


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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