Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Is it possible to have skip pattern in PDF surveys built LifeCycle Designer

Avatar

Level 1

Hi,

I have created a pdf survey using Adobe LifeCycle Designer. But wasn't able to implement the skip patterns in the survey. Does anyone have experience in implementing skip pattern in LifeCycle Designer.?

Thank you

Regards

Manilka

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Manika,

Here is an example that shows how to script using the presence property: http://assure.ly/h7whb8.

While you can set an objects presence to "invisible". it will still take up space on the form. You will want to use "hidden", which frees up the space and in a flowed form will move objects up to take up the free space.

Let's say you have a question with a Yes and No answer (using radio buttons) and a hidden subform "additionalQuestion". Then in the click event of the radio button exclusion group, the following will show the hidden subform on Yes:

if (this.rawValue == "Yes")

{

     additionalQuestion.presence = "visible";

}

else

{

     additionalQuestion.presence = "hidden";

}

This example looks at the difference between Flowed subforms (what you will need) and Positioned subforms (default type): http://assure.ly/eSGQMt.

Also here are some examples that might help:

Hope that helps,

Niall

View solution in original post

4 Replies

Avatar

Level 10

Hi,

You could set this up, but you would need to follow a few steps:

  1. For needs to be saved a a Dynamic XML Form in the save-as dialog.
  2. The page would need to be set to flowed.
  3. You would group questions in sections/subforms and then set their presence depending on previous user selections.
  4. Form would need to be set to Automatic Preserve Script Changes in the File > Form Properties > Defaults tab.

There are plenty of examples of flowed forms and showing/hiding objects.

Hope that helps,

Niall

Avatar

Level 1

Hi Niall,

Thank you for replying, bt im new to LifeCycle Designer so dont quite understand what you explain. Do you have any sample coding.

Regards

Manilka

Avatar

Correct answer by
Level 10

Hi Manika,

Here is an example that shows how to script using the presence property: http://assure.ly/h7whb8.

While you can set an objects presence to "invisible". it will still take up space on the form. You will want to use "hidden", which frees up the space and in a flowed form will move objects up to take up the free space.

Let's say you have a question with a Yes and No answer (using radio buttons) and a hidden subform "additionalQuestion". Then in the click event of the radio button exclusion group, the following will show the hidden subform on Yes:

if (this.rawValue == "Yes")

{

     additionalQuestion.presence = "visible";

}

else

{

     additionalQuestion.presence = "hidden";

}

This example looks at the difference between Flowed subforms (what you will need) and Positioned subforms (default type): http://assure.ly/eSGQMt.

Also here are some examples that might help:

Hope that helps,

Niall

Avatar

Level 1

Hi Niall,


Thank you.

Regards

Manilka Nilanga