Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
Questions about Payment Form extension

Didn't See This Coming - Using The 'Depend on options' Field

  • Joseph Zingarelli
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 9 months ago #160881 by Joseph Zingarelli
I am having great success with the Payment Form and the 'Depends on options' field has been key.  Now I have come across an issue that has me scratching my head: 
I have an unavoidable 'if and if' condition and the 'Depends on options' field is limited to an 'if' condition.
What are my options?  I know that there is a custom Javascript tab on each form.  Could that be the answer?  I would appreciate any guidance on this matter.
I have included an image to illustrate.  What I need is as follows: 

If the 'Adult Cardio Sessions' option is  'Session I August 21, 2023 - October 1, 2023'
AND 'Class Length' option is '5-Weeks'
Then display the message 'No Clinics on September 4'

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #160897 by Tuan Pham Ngoc
Hi Joseph

Unfortunately, we do not have a way to handle if and if conditions like that. Maybe you can try to find a way to setup it using multiple dependency. Basically, it allows :

- Field B depends on Field A
- Field C depends on Field B

Think about it. You might be able to setup the system to handle that

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc