- Posts: 20
- Thank you received: 0
Questions about Payment Form extension
Didn't See This Coming - Using The 'Depend on options' Field
- Joseph Zingarelli
- Topic Author
- Offline
- Junior Member
Less
More
1 year 2 months ago #160881
by Joseph Zingarelli
Didn't See This Coming - Using The 'Depend on options' Field was created 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'
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.
- Tuan Pham Ngoc
- Offline
- Administrator
1 year 2 months ago #160897
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Didn't See This Coming - Using The 'Depend on options' Field
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
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
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.