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

radio to show hidden subform

Avatar

Avatar
Validate 1
Level 1
WCtech
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
WCtech
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
WCtech
Level 1

19-04-2016

I have spent hours try to figure out how to show "Hidden" subforms to appear with radio buttons. I read everything on the first two pages of google all say the same thing to use:

if (this.rawValue == "1")

{

    form1.main.Page1.hide.presence = "visible";

}

else

{

    form1.main.Page1.hide.presence = "hidden";

}

I have item values assigned under the radio buttons binding (1 and 2). The hid subform is set to Flowed

Capture.JPG

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 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

270 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

23-04-2016

Hi,

The code in your original question looks ok to me.  The code in the image doesn't as there's no Text object under the hide subform.

Are you getting any errors/exceptions when you preview?

Here's a sample that I think does what you are trying to do.

https://sites.google.com/site/livecycledesignercookbooks/home/WCtech.pdf?attredirects=0&d=1

You do need this on the master page?

Bruce

Answers (4)

Answers (4)

Avatar

Avatar
Validate 1
Level 1
WCtech
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
WCtech
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
WCtech
Level 1

25-04-2016

OMG! How stupid. So I can't have the Radio in subform and still control another subform next to it...

I recreated what you have and my file works. The only difference in yours is the Radio isn't in a subform

Avatar

Avatar
Validate 1
Level 1
WCtech
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
WCtech
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
WCtech
Level 1

22-04-2016

Thanks for the idea.

I need it to affect a subform with content not just the circle. I did try taking it out of the subform and updating the code with the new location. Still no go. I have been playing around with this for a week now and read everything I can find......

Avatar

20-04-2016

I don't know why, but when I renamed a standard name of the object to other (by example from Circle1 to Cir), then the code works.

May be it help you?

CIR_hidden.png

Avatar

Avatar
Validate 1
Level 1
WCtech
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
WCtech
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
WCtech
Level 1

20-04-2016

Help anyone????