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

SHOW/HIDE SUBFORM WITH CHECK BOX SELECTED

Avatar

Avatar
Level 1
nakiag14462573
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
nakiag14462573
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
nakiag14462573
Level 1

14-11-2017

I am using livecycle and trying to have a subform only show up when the check box is checked. I would like the subform to be invisible and if the checkbox is checked, I would like the subform to appear. Within the subform, I would like to have a text box with + button on the left side of it within the subform which appears only when the check box is checked. The + button will allow for additional rows to be added below the text box when selected.

Can someone please provide me with step by step instructions on how to do this, especially how to have a subform appear when a check box is checked?

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
MinusZero
Level 4

18-12-2017

You're welcome

Avatar

Avatar
Level 1
nakiag14462573
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
nakiag14462573
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
nakiag14462573
Level 1

18-12-2017

Thank you!

Avatar

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
MinusZero
Level 4

20-11-2017

Firstly, do you want the subform to be invisible or hidden? If it is invisible it still takes up physical screen space. Hidden will remove it altogether.

Regardless, edit the change event in your checkbox to hide and show the subform

checkbox1 - change - javascript:

if(checkbox1.rawValue == "1") //show subform when checkbox1 is checked

{

subform1.presence = "visible";

}

if(checkbox1.rawValue == "0") //hide subform when checkbox one is unchecked

{

subform1.presence = "invisible"; //or subform1.presence = "hidden";

}