Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Alternative option for enabling and disabling subforms

satyal85833854
Level 1
Level 1

Hello,

I have used Alternative option to enable and disable Subforms during runtime depending upon input variable.

This is working fine in first page.

But from second page onwards the Option False is not getting triggered.

The problem is happening only in Master page.

In case of Body pages , this approach is working with out problem.

Can anybody give me a clue .

Thanking you,

Regards,

  Satya

1 Accepted Solution
_Bruce_Robertson
Correct answer by
Level 10
Level 10

Hi Satya,

You will have to loop though all the instances of that master page, so something like;

var pages = form1.Page1.all;

for (var i = 0; i < pages.length; i++) {

form1.Page1.all.item(i).TextField1.access = "readOnly"

}

Regards

Bruce

View solution in original post

1 Reply
_Bruce_Robertson
Correct answer by
Level 10
Level 10

Hi Satya,

You will have to loop though all the instances of that master page, so something like;

var pages = form1.Page1.all;

for (var i = 0; i < pages.length; i++) {

form1.Page1.all.item(i).TextField1.access = "readOnly"

}

Regards

Bruce

View solution in original post