Download the PHP package nswdpc/silverstripe-userforms-member-fields without Composer
On this page you can find all versions of the php package nswdpc/silverstripe-userforms-member-fields. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nswdpc/silverstripe-userforms-member-fields
More information about nswdpc/silverstripe-userforms-member-fields
Files in nswdpc/silverstripe-userforms-member-fields
Package silverstripe-userforms-member-fields
Short Description A set of fields collecting default member information within a user defined form
License BSD-3-Clause
Informations about the package silverstripe-userforms-member-fields
Member fields for user forms in Silverstripe
This module adds a few useful fields to collect default member information within Silverstripe userforms.
- Email field - default to the signed-in member's email address
- Name field - default to the signed-in member's name (or title)
- FirstName field - default to the signed-in member's firstname
- Surname field - default to the signed-in member's surname
The goal of the fields is to help signed in users complete user forms without having to re-enter their details, with the following caveats:
- If a default value is added for the field in the field editor, that will be respected.
- The person completing the field can override the default value provided.
Installation
License
BSD-3-Clause
Documentation
For the member name field, set the use_title
config value to true
to use the value returned from Member::getTitle()
as the default field value.
Maintainers
Security
If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.
Bugtracker
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.