Use user field data in webforms.
Use user data in forms.
Require it with composer:
composer require "itk-dev/os2forms_user_field_lookup"
Enable the module:
drush pm:enable os2forms_user_field_lookup
Add a User Field Element to a form and select a user field name on the element. When the form is displayed by an authenticated user, the field will be populated with the value of the selected field.
- User Field Element
- User Field Element (checkbox)
Run phpcs with the provided configuration:
composer coding-standards-check // Apply coding standards composer coding-standards-apply