itk-dev/os2forms_user_field_lookup

Use user field data in webforms.

1.1.0 2024-09-20 10:31 UTC

This package is auto-updated.

Last update: 2024-11-20 11:00:17 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