Different sets of fields
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Different sets of fields
Hi all!
I'm creating Payment Provider. I want to create 4 necessary fields. But if 5th field is filled too, other 4 become not necessary. How can I do that? Thanks!
I'm creating Payment Provider. I want to create 4 necessary fields. But if 5th field is filled too, other 4 become not necessary. How can I do that? Thanks!
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5
Re: Different sets of fields
Not actual. Did it with JS
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5
Re: Different sets of fields
Yes, in the frontend you have to use JS. In your service provider, you can check if the constraints are valid in the process() method where you should throw an exception if they are not met.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star