Skip to content

twomice/com.joineryhq.textselect

Repository files navigation

TextSelect

Allows converting some text fields to select fields, powered by native Option Groups; currently supports these fields:

  • Contact Source
  • Contribution Source
  • Membership Source
  • Participant Source
  • All custom fields where Input Field Type is "Text"

Screenshot

The extension is licensed under GPL-3.0.

Functionality

Upon installation, no changes are made. Configure as follows for the desired functionality:

  • You may specify any CiviCRM Option Group to use as options on supported fields. If an existing Option Group doesn't meet your needs, navigate to Administer > Customize Data and Screens > Dropdown Options. Here you can create a new Option Group and define the appropriate options.
  • After installing, navigate to Administer > Customize Data and Screens > TextSelect settings; here you can select the desired Option Group to use for options in any of the supported fields.
  • After configuring, navigate to any form containing the field you've configured. For example:
    • If you've configured TextSelect to handle the Contribution Source field, you'll see that the Source field for a Contribution is now a select field, with the options from the Option Group you've configured.
    • If you've configured TextSelect for any custom Text field, you'll see that field is now a select field, with the options from the Option Group you've configured.
  • Also notice that the select field has an additional "custom value" option, which will allow you to enter freeform text if desired.

Installation (Web UI)

This extension has not yet been published for installation via the web UI.

Installation (CLI, Zip)

Sysadmins and developers may download the .zip file for this extension and install it with the command-line tool cv.

cd <extension-dir>
cv dl com.joineryhq.textselect@https://github.com/twomice/com.joineryhq.textselect/archive/master.zip
cv en textselect

Installation (CLI, Git)

Sysadmins and developers may clone the Git repo for this extension and install it with the command-line tool cv.

git clone https://github.com/twomice/com.joineryhq.textselect.git
cv en textselect

Support

screenshot

Joinery provides services for CiviCRM including custom extension development, training, data migrations, and more. We aim to keep this extension in good working order, and will do our best to respond appropriately to issues reported on its github issue queue. In addition, if you require urgent or highly customized improvements to this extension, we may suggest conducting a fee-based project under our standard commercial terms. In any case, the place to start is the github issue queue -- let us hear what you need and we'll be glad to help however we can.

And, if you need help with any other aspect of CiviCRM -- from hosting to custom development to strategic consultation and more -- please contact us directly via https://joineryhq.com