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

Alternative option for enabling and disabling subforms

Avatar

Avatar
Level 1
satyal85833854
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
satyal85833854
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
satyal85833854
Level 1

15-08-2018

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
MVP

15-08-2018

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

Answers (0)