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.

Hiding a page on a form

Avatar

Former Community Member

Hi,

I have a 3 page form with a splash page that allows you to select either english or french.When the language is selected it either opens the 3 page english or french page.

I was wondering how I can hide page 3 on the form when I select a language on the splash page and only have it visible when I select yes on a radio button on the first page.

I appreciate any help here.

Thanks.

3 Replies

Avatar

Level 7

in the exit event of the yes radio button you can put (in formcalc):

if ($ == 1) then

page3.presence = "visible"

else page3.presence = "hidden"

endif

Avatar

Former Community Member

Thank you but I need to know how to keep page 3 hidden by default when the user clicks either english or french on the splash page.