Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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