Hello, in my plugin you can choose between 3 Accounts with a select field:
Github, Gitlab, Bitbucket.
1 Account have 2 text fields:
github_projectname
github_username
gitlab_projectname
gitlab_username
bitbucket_projectname
bitbucket_username
When you choose GitHub, the Fields github_projectname and github_username are visible and required -> the other fields are hidden.
When you choose Gitlab, the Fields gitlab_projectname and gitlab_username are visible and required -> the other fields are hidden.
The same with Bitbucket.
Now when i save the post -> the other 4 hidden fields are required and the post can't be saved.
This is my problem 🙁