- Issue created by @khoebeke
Hey @khoebeke,
I have followed all the mentioned steps, and the taxonomy field is visible on the user registration form. I am attaching screenshots for reference. I am using Drupal 10.4.0 and have created a vocabulary named "Genre," which I added to the user registration form.
Here’s what I did:
1. Created the "Genre" vocabulary and added terms.
2. Added a taxonomy reference field to the user entity and configured it to appear on the registration form.
3. Verified whether the field is enabled under the Manage Fields section.
4. Cleared all caches after making the changes.Could you please confirm if there are any additional steps I might have missed? Also, kindly check if the field is enabled in the Manage Fields section for the user registration form or if there are any known issues with this setup in Drupal 10.4.0.
Thanks for your help!
- 🇬🇧United Kingdom joachim
There's a separate form mode for registration. Can you check the field is configured to show on that?
Thank you @joachim for the clarification! I’ll check the configuration for the registration form mode and ensure the field is enabled there. I’ll update here once I’ve verified it.
Hey @joachim,
I followed your suggestion and checked the "Register" form mode under "Structure > Display modes > Form modes". Here’s what I did:
1. I accessed "Structure > Display modes > Form modes" and ensured that the "Register" form mode was enabled for the "User" type by
editing the form mode and selecting the checkbox for "User."
2. Then, I navigated to "Configuration > People > Account settings > Manage form display" and switched to the "Register" form mode tab.
3. I enabled the "Favourite Genre" taxonomy field and configured its widget settings there.After completing these steps, the "Favourite Genre" field is now visible on the /user/register page, and everything is working as expected.
Attaching a screenshot for the field settings and form mode.
Thank you !- 🇳🇿New Zealand quietone
@anish.ir, thanks for reporting back that the solution in #4 worked.
Changing to a support request and closing. If that is wrong, re-open and add a comment.
Thank you @joachim and @quietone for your guidance and support in resolving this! I really appreciate the insights shared in this discussion.
After reviewing everything, as per knowledge, I would like to suggest updating the issue status to "Closed (Works as Designed)" instead of "Fixed", as there was no underlying bug or code change required. The taxonomy field is working correctly on the user registration form, and the issue does not seem to be present in the default setup.
As I mentioned in my previous comments, if the field is not appearing, it is likely due to configuration settings, such as ensuring the Register form mode is enabled and properly configured under Manage Form Display. Once these settings were verified and adjusted, the taxonomy field displayed as expected.
Since this appears to be a configuration-related matter rather than a core issue, I believe "Works as Designed" would be a more appropriate resolution. However, please let me know if there are any other considerations or if I may have overlooked anything. Please have a look into this.
Thanks again for the support and valuable input!
Automatically closed - issue fixed for 2 weeks with no activity.