itk-dev/os2forms_user_field_lookup

Use user field data in webforms.

1.0.0 2022-06-29 18:36 UTC

This package is auto-updated.

Last update: 2024-03-29 04:39:48 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