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.

disappearing questions

Avatar

Level 2
how can i make a future question disappear if a user replies "no" to an earlier question?
4 Replies

Avatar

Former Community Member
Hi Carly,

You'll have to build it as a dynamic form, and save it as such.

Cheers,

Eric

Avatar

Level 2
Okay, but how do I format the dynamic form in this capacity? what fields/options/preferences should i be paying attention to to make this work?

Avatar

Former Community Member
It is more than simply making the form dynamic ....it must eb built in a certain way (broken out into subforms). There are good examples that ship with the product.

Avatar

Former Community Member
if (mycheckbox.rawValue == 0)

{

myOtherField.prsence="invisible"

}

else

myOtherField.presence="visible"