TOPIC:

Visibility rules: all Sections turned off but page still displays (blank) 3 weeks 3 days ago #245196

  • Topic Author
  • guitrldy
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 31
  • Thanks: 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.

Please Log in or Create an account to join the conversation.

Visibility rules: all Sections turned off but page still displays (blank) 3 weeks 3 days ago #245203

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9796
  • Karma: 167
  • Thanks: 785
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

Please Log in or Create an account to join the conversation.

Visibility rules: all Sections turned off but page still displays (blank) 3 weeks 2 days ago #245366

  • Topic Author
  • guitrldy
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 31
  • Thanks: 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.

Please Log in or Create an account to join the conversation.

Visibility rules: all Sections turned off but page still displays (blank) 3 weeks 1 day ago #245383

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9796
  • Karma: 167
  • Thanks: 785
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

Please Log in or Create an account to join the conversation.

Visibility rules: all Sections turned off but page still displays (blank) 3 weeks 1 day ago #245405

  • Topic Author
  • guitrldy
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 31
  • Thanks: 0
Worked perfectly! Thank you!
Lisa W.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.049 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

Summer Sale!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!