• 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 field question

Conditional field question 1 year 7 months ago #42154

Hi,
I have a dropdown with 6 values (0 to 5) and 5 text fields.
When in dropdown the value 1 is selcted i want to show textfield 1, when value 2 is selected I want to show textfield 1 and 2, when value 3 is selected I want to show textfield 1, 2 and 3...
I created a conditional field for that:
show textfield 1 when match of dropdown is 1
show textfield 1 and 2 when dropdown value is 2 and so on.

If I do this it only works for the highest value, so if I chose 5 it shows all 5 textfield but the other values are not working - showing no textfield.

I tried a lot but I don't know what is wrong? Maybe someone has the solution for this?
The administrator has disabled public write access.

Conditional field question 1 year 7 months ago #42156

  • info5963
  • info5963's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
Try it this way:

Show text field 1 if
dropdown value is 1
dropdown value is 2
dropdown value is 3
dropdown value is 4
dropdown value is 5
dropdown value is 6

Show text field 2 if
dropdown value is 2
dropdown value is 3
dropdown value is 4
dropdown value is 5
dropdown value is 6

....

Show text field 5 if
dropdown value is 5
dropdown value is 6

Show text field 6 if
dropdown value is 6
Last Edit: 1 year 7 months ago by info5963.
The administrator has disabled public write access.

Conditional field question 1 year 7 months ago #42157

I think I allready tried it also this way you described.

I tried it again and doesn't work, it only shows textfield 5 when value of dropdown is 5.
Last Edit: 1 year 7 months ago by office547.
The administrator has disabled public write access.

Conditional field question 1 year 7 months ago #42169

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 557
  • Thank you received: 102
Hello,

Please try this instead:
Show 'text field 1' if 'ANY' of the following match:
dropdown value is 1
dropdown value is 2
dropdown value is 3
dropdown value is 4
dropdown value is 5
dropdown value is 6
 
Show 'text field 2' if 'ANY' of the following match:
dropdown value is 2
dropdown value is 3
dropdown value is 4
dropdown value is 5
dropdown value is 6
 
Show 'text field 3' if 'ANY' of the following match:
dropdown value is 3
dropdown value is 4
dropdown value is 5
dropdown value is 6
 
Show 'text field 4' if 'ANY' of the following match:
dropdown value is 4
dropdown value is 5
dropdown value is 6
 
Show 'text field 5' if 'ANY' of the following match:
dropdown value is 5
dropdown value is 6
 
Show 'text field 6' if 'ALL' of the following match:
dropdown value is 6
The administrator has disabled public write access.
The following user(s) said Thank You: office547

Conditional field question 1 year 7 months ago #42192

Thanks, this way it is working!
The administrator has disabled public write access.
  • 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!