• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Conditional Fields

Conditional Fields 4 years 6 months ago #40628

  • matt31
  • matt31's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
So I am trying to create conditional fields so that based on a drop down shows different information. So for instance...

If number of dogs is 0, hide everything
If number of dogs is 1, show A1
If number of dogs is 2, show A1 & A2

My problem is that they are overriding each other and it will not display correctly. Am I missing an option to nest them?
The administrator has disabled public write access.

Conditional Fields 4 years 6 months ago #40632

  • dragos
  • dragos's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 634
  • Thank you received: 117
Hello,

You will need to make sure that your conditions are logical, for instance, assuming that your number of dogs field is named 'dogs', then the other fields are named simply 'A1' and 'A2', you'll need a similar condition:
1. Show 'A1' if 'any' of the following match:
- dogs is 1
- dogs is 2
 
2. Show 'A2' if 'all' of the following match:
- dogs is 2

The 'dogs' field items are in this example:

|select number of dogs
1
2

You can try taking a look at this article for more information on how the Conditional Fields feature works.
Last Edit: 4 years 6 months ago by dragos. Reason: addition
The administrator has disabled public write access.
The following user(s) said Thank You: matt31
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!