I have this fairly complex form where the user must be shown fields with coditional logic, but it seems not to work properly.
Here is the code
https://pastebin.com/Gw30ecHK
Whenever the user choose the "home template" and select the field "link type", it shows the right field.
BUT, when the user choose the "button template" and select the field "link type", it doesn't show the corresponding field!
Example about the WORKING part of the form https://drive.google.com/file/d/1cs3R-2qjmAmQ4ENhRid6Z07HhrAuRW0N/view?usp=sharing
Example about the NOT WORKING part of the form https://drive.google.com/file/d/1Ebv6rDcNp6CZntZTOl-roddYaGFEEBQ7/view?usp=sharing
Why is that?
Every field has a unique ID, so that cannot be the problem.
Can you please show me if I made a mistake somewhere?
MetaBoxAIO version 1.11.12 downloaded by using Composer.
Thank you,