PHPackages                             leapfrognz/alternative-field - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. leapfrognz/alternative-field

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

leapfrognz/alternative-field
============================

Simple dropdown field which displays a text field when 'Other' is selected. Great for Honorifics selects.

2262[1 issues](https://github.com/Leapfrognz/alternative-field/issues)[4 PRs](https://github.com/Leapfrognz/alternative-field/pulls)PHP

Since Oct 14Pushed 10y ago2 watchersCompare

[ Source](https://github.com/Leapfrognz/alternative-field)[ Packagist](https://packagist.org/packages/leapfrognz/alternative-field)[ RSS](/packages/leapfrognz-alternative-field/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Silverstripe Alternative-field Module
=====================================

[](#silverstripe-alternative-field-module)

Introduction
------------

[](#introduction)

Simple dropdown field which displays a text field when 'Other' is selected. Great for Honorific selects.

How to use
----------

[](#how-to-use)

Add the dropdown options to the \_config/AlternativeFormField.yml file.

You can also edit the empty string for the dropdown and the label for the 'other' field in the yml.

Requirements
------------

[](#requirements)

SilverStripe 3.0 or higher is required.

Example
-------

[](#example)

```
