PHPackages                             milkyway-multimedia/ss-mwm-formfields - 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. milkyway-multimedia/ss-mwm-formfields

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

milkyway-multimedia/ss-mwm-formfields
=====================================

Some additional form fields to use with the Silverstripe Framework

0.1(10y ago)59403[2 PRs](https://github.com/milkyway-multimedia/ss-mwm-formfields/pulls)1MITPHPPHP &gt;=5.4

Since Dec 9Pushed 10y ago2 watchersCompare

[ Source](https://github.com/milkyway-multimedia/ss-mwm-formfields)[ Packagist](https://packagist.org/packages/milkyway-multimedia/ss-mwm-formfields)[ RSS](/packages/milkyway-multimedia-ss-mwm-formfields/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Milkyway Form Fields
====================

[](#milkyway-form-fields)

Still in heavy development
--------------------------

[](#still-in-heavy-development)

Due to some limitations, this may not work the way I want it, so the API will be changing frequently until I am happy with it. Please use with caution if you must use it at all.

**Milkyway Form Fields** is a set of form fields that we use across a variety of projects and didn't think we would need a separate module for each.

Install
-------

[](#install)

Add the following to your composer.json file

```

    "require"          : {
		"milkyway-multimedia/ss-mwm-formfields": "dev-master"
	}

```

Usage
-----

[](#usage)

### Composite Fields

[](#composite-fields)

These fields work as composite fields, with the ability to group form fields into certain components

1. HasOneCompositeField: Save a has one relationship as if it is part of the current form. Can also be used to completely save a different record if need be.
2. InlineFormField: Save a form as part of another form (kind of like ajaxing it).
3. AccordionComponentField: A composite field that acts like an accordion. Uses Twitter Bootstrap styling.
4. ModalWindowField: A composite field that acts like a modal window, with the option to set a trigger, or to trigger automatically. Uses Twitter Bootstrap styling.
5. PanelComponentField: A composite field that displays as a panel
6. SliderComponentField: A composite field that displays a slider. Uses Twitter Bootstrap styling.
7. TabComponentField: A composite field that displays fields in a tab. Uses Twitter Bootstrap styling.

### Helper Fields

[](#helper-fields)

These are fields that use the LiteralField as a base, but are just there to make developing with forms a little bit faster (and more zen)

1. FormActionLink: Display a link like a button - uses Twitter Bootstrap styling - to get it to work in the CMS, make sure you use FormActionLink::create($name, $content, $link)-&gt;cms()
2. FormMessageField: Display a message to the user - uses Twitter Bootstrap styling - to get it to work in the CMS, make sure you use FormMessage::create($name, $content, $type)-&gt;cms()
3. HorizontalRuleField: Display a horizontal rule, or just separate with blank paragraphs by using SpacerField::create($name)-&gt;invisible()
4. IframeField: Display a page in an iframe within the form
5. FlyoutLabelField: Display a label in a flyout number, to better match the Silverstripe CMS styling.

### Functional Fields

[](#functional-fields)

1. GroupedListboxField: Allows you to use a two dimensional array with ListboxField
2. RangeSliderField: Display a slider that saves values to the database
3. TabbedSelectionGroup: Display selection groups in tabs, or a tab dropdown (to save space)
4. Select2Field
5. TypeAheadField

### Extended Functionality

[](#extended-functionality)

1. HTMLEditorField - extras: Adds ability to limit characters on HTMLEditorFields, define more custom configuration such as buttons, iframe CSS and more.

License
-------

[](#license)

- MIT

Version
-------

[](#version)

- Version 0.2 (Alpha)

Develop
-------

[](#develop)

**This project relies on the mwm.buildr module.**This means you can develop the code with live updating and automatic building on file changes, simply run the command below to get this functionality.

```
gulp --dev

```

For more information about this functionality, please read:

Contact
-------

[](#contact)

#### Milkyway Multimedia

[](#milkyway-multimedia)

- Homepage:
- E-mail:
- Twitter: [@mwmdesign](https://twitter.com/mwmdesign "mwmdesign on twitter")

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3854d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/873db53f59bc2f8309c506d1b56313b0c7d8c7b3160eb1700ee0754d060f9767?d=identicon)[mi3ll](/maintainers/mi3ll)

---

Top Contributors

[![mellm0](https://avatars.githubusercontent.com/u/229937?v=4)](https://github.com/mellm0 "mellm0 (1 commits)")

---

Tags

silverstripeFormsform-fieldsmwm

### Embed Badge

![Health badge](/badges/milkyway-multimedia-ss-mwm-formfields/health.svg)

```
[![Health](https://phpackages.com/badges/milkyway-multimedia-ss-mwm-formfields/health.svg)](https://phpackages.com/packages/milkyway-multimedia-ss-mwm-formfields)
```

###  Alternatives

[unclecheese/display-logic

Allows assignment of conditions for display and hide of specific form fields based on client side behavior.

741.1M111](/packages/unclecheese-display-logic)[silverstripe/multiform

SilverStripe forms with multiple steps, flow control and state persistence

3156.8k3](/packages/silverstripe-multiform)[unclecheese/zen-fields

Syntactic sugar for SilverStripe FieldLists

2919.9k](/packages/unclecheese-zen-fields)[sheadawson/silverstripe-select2

A set of silverstripe form fields based on http://ivaynberg.github.com/select2/

1823.6k3](/packages/sheadawson-silverstripe-select2)[milkyway-multimedia/ss-gridfield-utils

A collection of GridField components that you can use with any GridField, including Editable Rows and amy more

207.3k2](/packages/milkyway-multimedia-ss-gridfield-utils)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
