itk-dev / os2forms_user_field_lookup
Use user field data in webforms.
Installs: 2 655
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 1
Type:drupal-module
Requires
- os2forms/os2forms: ^3.13
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^0.7.2
- drupal/coder: ^8.3
- mglaman/drupal-check: ^1.4
This package is auto-updated.
Last update: 2024-10-20 10:50:16 UTC
README
Use user data in forms.
Installation
Require it with composer:
composer require "itk-dev/os2forms_user_field_lookup"
Enable the module:
drush pm:enable os2forms_user_field_lookup
Usage
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.
Elements
- User Field Element
- User Field Element (checkbox)
Coding standards
Run phpcs with the provided configuration:
composer coding-standards-check // Apply coding standards composer coding-standards-apply