• 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: Required fields

Required fields 11 years 5 months ago #25574

  • raz0573
  • raz0573's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 1
I have a form of contributions with some options:
5 first options based on multiple product with a fixed amount, and another option is based on the single product.
I want only one of the two options will be mandatory
How can I make mandatory field will be one of the options of "multiple product" or the option of a "single product"?


Thanks!
The administrator has disabled public write access.

Required fields 11 years 5 months ago #25580

  • silviup
  • silviup's Avatar
  • OFFLINE
  • Moderator
  • Posts: 309
  • Thank you received: 49
You can achieve this using the Payment package's 'Donation' and 'Multiple products' fields, as well as the 'Conditional fields' feature:

- Please add a multiple product field to the form and set one of it's items as follows:

0|Specify a donation amount

When selecting this item, no value will be added to the total, as the item's value is set to '0'.

Then, please add a 'Donation' field to the form. Head to it's 'Validations' tab and set 'Required' to 'Yes'.

- Head to Components >> RSForm!Pro >> Manage Forms >> edit your form >> Properties >> scroll down to 'Conditional Fields' and click on 'New Condition'. You will need to create a condition that will only display the 'Donation' field if the 'Specify a donation amount' option is selected within the multiple product field. You can read more on how to set up conditions here:

www.rsjoomla.com/support/documentation/v...ditional-fields.html

Also, more information on the Payment Package can be found here:

www.rsjoomla.com/support/documentation/v...-payment-plugin.html
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
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!