Dropdown and dependencies | WordPress.org

Good afternoon,

I have a dropdown with 3 choices.
The first choice has no dependencies.
The second and third have dependencies.
Dependencies work well depending on the choice made. Reveal the intended fieldsets. These fieldsets have values ​​used in functions entered in calculatedfields.

However, the fieldset values ​​dependent on the second choice are not assumed in the function if I first select the third choice from the dropdown.
If the selection order in the dropdown is:

  • 3rd choice -> 2nd choice, doesn’t work.
  • 2nd choice, it works.
  • 2nd choice -> 3rd choice -> 2nd choice, doesn’t work.
  • 2nd choice -> 3rd choice -> 1st choice -> 2nd choice, it works.

If I change the order of the dependencies in the dropdown the problem always remains in the 2nd choice.
Is there a reason for this? can it be fixed?

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer