Hello there! and thank you in advance for your time.
I am developing an user registration form where the person can choose between different options.
In my form the user needs to choose between specific options in two dropdowns.
The first dropdown habilitates the second one, so, when a first option is selected, there are in the second dropdown other options that need to be specified.
The first dropdown corresponds to a Committee of the United Nations, and the second dropdown corresponds to the countries that the committee has (The Security Council can have USA, Germany and Russia, but another Committee like the International Court of Justice could have the same countries, and other as well, to choose).
What I am struggling with:
I need a code that after a user submits a form (already choosing a committee and a country) prevent other user to see the already registered countries (if one existing user registered USA in the Security Council, another user should not be able to see that option in that specific committee, but the others).
I am implementing code in my page, and I don't know if I need to use hooks or other tools.
Thank you so much for your time!
(I will be glad to provide other details if need it)