Visibility rules with many switcher elements/sections

  • channingb
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0

channingb created the topic: Visibility rules with many switcher elements/sections

Hello:
We are using Breezing Form Pro, 1.9.0 Stable (build 931), Joomla 3.9.14. We were trying out the Switcher function with six products (adding two more soon). Perhaps this was not the best way to approach this project. The client logs in, chooses from a radio group the item and a forms appears that then they fill out the appropriate information.

Our question is are there other shorter ways/commands in the Visibility Rules area to handle many sections? See below how we have set it up below. Thank you for your assistance.

Channing

Our Rules:

turn on section postcard if switcher is postcard
turn off section flyer if switcher is postcard
turn off section poster if switcher is postcard
turn off section fbeventheader if switcher is postcard
turn off section fbpostimage if switcher is postcard
turn off section ads if switcher is postcard
turn on section flyer if switcher is flyer
turn off section postcard if switcher is flyer
turn off section poster if switcher is flyer
turn off section fbeventheader if switcher is flyer
turn off section fbpostimage if switcher is flyer
turn off section ads if switcher is flyer
turn on section poster if switcher is poster
turn off section postcard if switcher is poster
turn off section flyer if switcher is poster
turn off section fbeventheader if switcher is poster
turn off section fbpostimage if switcher is poster
turn off section ads if switcher is poster
turn on section fbeventheader if switcher is fbeventheader
turn off section postcard if switcher is fbeventheader
turn off section flyer if switcher is fbeventheader
turn off section poster if switcher is fbeventheader
turn off section fbpostimage if switcher is fbeventheader
turn off section ads if switcher is fbeventheader
turn on section fbpostimage if switcher is fbpostimage
turn off section postcard if switcher is fbpostimage
turn off section flyer if switcher is fbpostimage
turn off section poster if switcher is fbpostimage
turn off section fbeventheader if switcher is fbpostimage
turn off section ads if switcher is fbpostimage
turn on section ads if switcher is ads
turn off section postcard if switcher is ads
turn off section flyer if switcher is ads
turn off section poster if switcher is ads
turn off section fbeventheader if switcher is ads
turn off section fbpostimage if switcher is ads
#239144
  • mihaela
  • Away
  • Administrator
  • Administrator
  • Posts: 2993
  • Karma: 104
  • Thank you received: 394

mihaela replied the topic: Visibility rules with many switcher elements/sections

Hello,

There is a shorter way to do the same thing.

You can replace all of this visibility rules:
turn off section ads if switcher is postcard
turn off section ads if switcher is flyer
turn off section ads if switcher is poster
turn off section ads if switcher is fbeventheader
turn off section ads if switcher is fbpostimage
turn on section ads if switcher is ads
with the following ones:
turn off section ads if switcher isnot ads
turn on section ads if switcher is ads

Let me know whether this is working as you wanted.

Regards,

Mihaela
#239157
  • channingb
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0

channingb replied the topic: Visibility rules with many switcher elements/sections

Flippin' brilliant. Is there documentation as to the commands I can use for this?
Thank you for your help and prompt reply to my query.

Channing
#239170
  • mihaela
  • Away
  • Administrator
  • Administrator
  • Posts: 2993
  • Karma: 104
  • Thank you received: 394

mihaela replied the topic: Visibility rules with many switcher elements/sections

Hello again,

I'm glad I've helped and that this is working as you wanted.

Here crosstec.org/en/support/online-documenta...f-conditionally.html is a piece of documentation explaining how visibility rules work.

Regards,

Mihaela
#239173
Moderators: ForumSupporttomeperica
Time to create page: 0.071 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here