Bienvenido, Invitado
Recordarme

TEMA:

Visibility rules: all Sections turned off but page still displays (blank) 2 años 4 meses antes #245196

  • Autor del tema
  • guitrldy
  • Fuera de línea
  • Junior Breezer
  • Junior Breezer
  • Mensajes: 74
  • Gracias recibidas: 0
I have a page with 3 sections.
I have three visibility rules for each of these sections.

If none of the rules are true, no sections are displayed. This works.

But the page itself still displays, with nothing there but a "back" and a "next" button.

How do I keep this from displaying and have it actually skip to the next page?

Thanks!
Lisa W.
Lisa W.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Visibility rules: all Sections turned off but page still displays (blank) 2 años 4 meses antes #245203

  • Avatar de TheMuffinMan
  • TheMuffinMan
  • Fuera de línea
  • Developer
  • Developer
  • Mensajes: 10069
  • Karma: 167
  • Gracias recibidas: 809
Hi,

I am not sure what your workflow is. Are you trying to achieve something like "if all sections on a page are off, then switch to the next page"?

Regards,
Markus

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Visibility rules: all Sections turned off but page still displays (blank) 2 años 4 meses antes #245366

  • Autor del tema
  • guitrldy
  • Fuera de línea
  • Junior Breezer
  • Junior Breezer
  • Mensajes: 74
  • Gracias recibidas: 0
Great question!

On page1, I have a selection list of three items (partyType). And I have a yes/no question (selectAnimals).

My users will select one partyType.
And they will select yes or no (selectAnimals).

If selectAnimals is yes, then depending on which partyType they select, that corresponding section will display on the third page.

If selectAnimals is no, then my form should skip page 3 entirely and go to page 4.


Right now, I have these "visibility rules":
turn on section 12animals if partyType is 12-animals
turn on section 16animals if partyType is 16-animals
turn on section 20animals if partyType is 20-animals

turn off section 12animals if selectAnimals is no
turn off section 16animals if selectAnimals is no
turn off section 20animals if selectAnimals is no

When selectAnimals is no, an empty page3 still displays.
I want it to go to page4.


If selectAnimals is no
then skip page3, go to page4

If selectAnimals is yes
and if partyType is 12-animals, then show page3 12-animals

If selectAnimals is yes
and if partyType is 16-animals, then show page3 16-animals

If selectAnimals is yes
and if partyType is 20-animals, then show page3 20-animals

Looking at it the way I've described, think all I need is a way to skip to page 4 if selectAnimals is no !

Thanks!
Lisa W.
Lisa W.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Visibility rules: all Sections turned off but page still displays (blank) 2 años 4 meses antes #245383

  • Avatar de TheMuffinMan
  • TheMuffinMan
  • Fuera de línea
  • Developer
  • Developer
  • Mensajes: 10069
  • Karma: 167
  • Gracias recibidas: 809
Hi,

visibility rules don't switch to pages but you can achieve it differently:

In your selectAnimals element => advanced tab => scroll down to action script.
Then click on custom check "click" and click on "create code framework".

Inside the generated function, right after "case 'click':" add this in a new line
if( element.value == 'no' ){
   ff_switchpage(4);
}

Then save everything and it should switch to page 4 based on the selection "no".

Regards,
Markus

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Visibility rules: all Sections turned off but page still displays (blank) 2 años 4 meses antes #245405

  • Autor del tema
  • guitrldy
  • Fuera de línea
  • Junior Breezer
  • Junior Breezer
  • Mensajes: 74
  • Gracias recibidas: 0
Worked perfectly! Thank you!
Lisa W.
Lisa W.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Página:
  • 1
Tiempo de carga de la página: 0.054 segundos