This I try to accomplish is:
If I have more than one instances I will like the FeldA to become Visible for all instances1, 2, 3, and so on...
On Layout ready event I use the script below but the fieldA appears only for instance No.2 and below but NO for instance No1!
if
(this.parent.index >=1) {
FieldA.presence="visible";
}
Thank you
Views
Replies
Total Likes
The index is zero-based so try:
(this.parent.index >=0)
Views
Replies
Total Likes
Hi Jono, thanks for your reply!
Your suggestion does not work because when I open the form FieldA is visible!
This which I want it is, when you open the form. FieldA to be hidden.
But when you click the button to add an instance I will like the Field A to become visible for all instances!
Thanks
Views
Replies
Total Likes