• 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 Also Needs Conditional Values

Conditional Fields Also Needs Conditional Values 9 years 11 months ago #31288

  • cewing
  • cewing's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Managing conditional fields is straightforward and a great feature of the component. We use it primarily to provide an "Other" option at the bottom of a dropdown that triggers the display of the "Other" amount field. Unfortunately if you fill in the Other field and then change your mind and select an amount from the associated dropdown, the Other field although hidden still contains the entered value, which has no business being included to the DB. To solve this we use the PHP $_POST modification scripting to test these values and remove the extraneous "Other" values if they exist.

What would be really nice in addition to Conditional Fields is to also have Conditional Values, which would operate the same way. So basically you'd {Set|Remove|Increase by amount|Increase by percent|etc.} {this field} when {that field = value}, or some such system where extraneous value could be removed and other values could be manipulated in various mathematical or textual ways.
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!