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

Doubts with subforms hide/show

Not applicable
hi,



i want to make a pdf that could have the need to hide/show some subforms and/or pages



i was able to make this work with some subforms.



How can i do in order to force the pdf to remerge itself ?



for example, i have the following :



page 1:

subform1

subform2

subform3

page 2:

subform4

subform5

subform6

page 3:

subform7

subform8

subform9



is it possible to hide subform 3, and make subform4 take his place ?? (pull all the subforms up)



i wanted to avoid the blank spaces left by the invisible subform.



thanks
4 Replies
Not applicable
Just make sure the main subform on page 1 is set to flow and that all of the subforms are contained within that subform then when you hide a particular subform all the others will flow next to each other. So if subform3 is hidden then subform4 etc. will move up under subform2. That is the easiest way to accomplish this that I know of.
Not applicable
hi,



i did what u suggested. it worked fine.



thanks,
fanax
Level 2
Level 2

does not work well with me !

I have 2 radio-buttons when click 1st one i need sub form 1 = visible & sub form 2 = hidden , and the reversed action with 2nd radio-button

when I checked 1st radio-button the subform1 is appear properly then when also checked the 2nd radio-button  the subform2 will appear and still subform1 showed, i need to hide the 1st subform ????

please help me !

sudhashankar
Level 2
Level 2

Yes, ofcourse you need to hide the first subform. I tried it and it's working fine..

if(this.rawValue == 1) (in click event of radio button)

{

this.parent.subform1.presence = "visible";

this.parent.subform2.presence = "hidden";

}

else

{

this.parent.subform1.presence = "hidden";

this.parent.subform2.presence = "visible";

}