- Posts: 1
- Thank you received: 0
Questions about Payment Form extension
Make inputfields required when os_offline is selected
- Kenneth Hüdig
- Topic Author
- Offline
- New Member
Less
More
2 years 11 months ago #148397
by Kenneth Hüdig
Make inputfields required when os_offline is selected was created by Kenneth Hüdig
Hi,
I need to make some fields (IBAN, BIC) required when "os_offline" payment is selected. In the JQuery-Validation Documentation I found the option "condRequired"
For the Payment selection there is always a value. So this won´t work.
I tried in the Validation field of "IBAN": validate[required,os_offline] but it won´t work.
Do I need to add an "Id"(id="os_offline") to the inputfield in PHP(Override)?
When possible I want to only show the fields when os_offline is selected like Authorization.net the creditcard information is shown.
Thanks!
Kenneth
I need to make some fields (IBAN, BIC) required when "os_offline" payment is selected. In the JQuery-Validation Documentation I found the option "condRequired"
For the Payment selection there is always a value. So this won´t work.
I tried in the Validation field of "IBAN": validate[required,os_offline] but it won´t work.
Do I need to add an "Id"(id="os_offline") to the inputfield in PHP(Override)?
When possible I want to only show the fields when os_offline is selected like Authorization.net the creditcard information is shown.
Thanks!
Kenneth
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
2 years 11 months ago #148402
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Make inputfields required when os_offline is selected
Hi Kenneth
In short, there is no way to handle this at the moment. Somehow, I think you would have to add some code to the layout so that when the offline payment method is selected, the two fields are shown, otherwise, make it hidden
No way to just configure it
Tuan
In short, there is no way to handle this at the moment. Somehow, I think you would have to add some code to the layout so that when the offline payment method is selected, the two fields are shown, otherwise, make it hidden
No way to just configure it
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.