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';
}