• 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: Payment Plugin Conditional Fields

Payment Plugin Conditional Fields 1 year 2 months ago #43200

Hello!

We are using the Payment Plug-in for a form and want to load conditional fields based upon the quantity selected. In this particular case, the form registers attendees for an event, so if quantity 2 is selected, we would like to expose name and email fields for the additional attendee.

Unfortunately, although the quantity field displays as a drop-down, it is not on the list of fields available for matching.

Any ideas for a workaround on this?

Thanks,
Beth
The administrator has disabled public write access.

Payment Plugin Conditional Fields 1 year 2 months ago #43219

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

Instead of the Quantity field, you can try using a Multi Product where you're adding the items manually similar to:

|select
10|1
20|2
30|3

..then craft your conditional fields similar to:

(Show) fields_set_1 / if / any / of the following match:
multiProduct_field_name is 3
multiProduct_field_name is 2
multiProduct_field_name is 1

(Show) fields_set_2 / if / any / of the following match:
multiProduct_field_name is 3
multiProduct_field_name is 2

(Show) fields_set_3 / if / all / of the following match:
multiProduct_field_name is 3
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!