Hi,
I am using "showon" attribute in XML of payment method options, but it doesn't work. Would be nice to have as it's a standard Joomla thing.
Version 4.0.10
Thank you!
Kind regards,
Dmitrijs
showon in payment method options
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: showon in payment method options
Hi, do you really need the "showon" feature? The problem is this is fully managed by Joomla and if Joomla core developers didn't count with dynamically loaded forms, it is hard to fix it as they usually ignore features which extensions use.
I will take a look at it but really no idea if I can do something with this core feature
Jan
I will take a look at it but really no idea if I can do something with this core feature
Jan
If you find Phoca extensions useful, please support the project
- b2z
- Phoca Enthusiast
- Posts: 52
- Joined: 09 Dec 2016, 13:52
Re: showon in payment method options
Well I have some options that should hide if other option is set to Yes. Not a big deal at the moment.
Kind regards,
Dmitrijs
Kind regards,
Dmitrijs
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: showon in payment method options
Hi, as expected, seems like core does not count with dynamic loading of parameters. So the instance of "showon" class needs to be newly initialized in Javascript. So the "showon" will work in next release.
Jan
Jan
If you find Phoca extensions useful, please support the project
- b2z
- Phoca Enthusiast
- Posts: 52
- Joined: 09 Dec 2016, 13:52
Re: showon in payment method options
Thank you!