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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Subform with hidden content positioning

Avatar

Level 1

I have a form with a cover page where I am placing a person's address.

Part of the address is a line for Street Address Line 2 and very few people have it.

I'd like to hide that line if there is no value and have the City, State, Zip move up.

I've read on subform's and visibility and I believe I've done it correctly.  The order of the fields is as follows:
Name

Street Address

Street Address 2

City, State Zip

The entire address is in a subform that is set as flowed content.  If I set the Street Address 2 to visible, it actually shows over the top of the Name kind of blended.  If I put the Street Address 2 in it's own subform it will show over the top of the City, State Zip again kind of blended.  I'm struggling to find the solution where if there is no second street address line it will show as:

Name

Street Address

Street Address 2

City, State Zip

I don't want a blank line:

Name

Street Address

City, State Zip

I'd also like to attach the form to this discussion but I'm not finding that option, I can attach everything but that.  Any help is greatly appreciated.

0 Replies