PHPackages                             nblum/silverstripe-customizableinputfield - 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. [Templating &amp; Views](/categories/templating)
4. /
5. nblum/silverstripe-customizableinputfield

AbandonedArchivedSilverstripe-module[Templating &amp; Views](/categories/templating)

nblum/silverstripe-customizableinputfield
=========================================

SilverStripe form field for customizable input formats

3201[2 PRs](https://github.com/nblum/silverstripe-customizableinputfield/pulls)PHP

Since Dec 8Pushed 9y agoCompare

[ Source](https://github.com/nblum/silverstripe-customizableinputfield)[ Packagist](https://packagist.org/packages/nblum/silverstripe-customizableinputfield)[ RSS](/packages/nblum-silverstripe-customizableinputfield/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

silverstripe-customizableinputfield
===================================

[](#silverstripe-customizableinputfield)

---

This package is deprecated. There will be no features or bug fixes in future.

---

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

[](#requirements)

- Silverstripe 3.\*

Installation
------------

[](#installation)

### Composer

[](#composer)

- `composer require "nblum/silverstripe-customizableinputfield"`

### Manual

[](#manual)

- Download and copy module in SilverStripe root directory

Usage
-----

[](#usage)

### Adding fields on a page

[](#adding-fields-on-a-page)

```
    private static $db = array(
        'Field' => 'CustomizableInputField'
    );
```

Example for mail address with pre defined domain:

\_\_\_\_\_\_\_\_\_ @example.com

```

    //creates a new fieldset
    $field = new CustomizableInputFieldSet('Field', 'Email address');

    //creates a new part
    $part1 = new CustomizableInputFieldPart();
    $part1->setAfter('@example.com');
    $part1->setMaxLength(15);
    $field->addPart($part1);

    //adds the customized fieldset to the tab
    $fields->addFieldToTab('Root.Main', $field, 'Content');

```

Example for (german) mobile phone numbers:

+49 (0) \_\_\_ / \_\_\_\_\_\_\_\_\_

```

    //creates a new fieldset
    $field = new CustomizableInputFieldSet('Field', 'Mobile Phone');

    //creates a new part
    $part1 = new CustomizableInputFieldPart();
    //the first param will be visible in admin form, the second in the template
    $part1->setBefore('+49', '+49 (0)');
    $part1->setAfter('/');
    $part1->setMaxLength(3);
    $field->addPart($part1);

    //creates a second part
    $part2 = new CustomizableInputFieldPart();
    $part2->setMaxLength(9);
    $field->addPart($part2);

    //adds the customized fieldset to the tab
    $fields->addFieldToTab('Root.Main', $field, 'Content');

```

### Render values on a template

[](#render-values-on-a-template)

```

    $Field1.Strval

            $Before $Value $After

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7358767?v=4)[Nico Blum](/maintainers/nblum)[@nblum](https://github.com/nblum)

---

Top Contributors

[![nblum](https://avatars.githubusercontent.com/u/7358767?v=4)](https://github.com/nblum "nblum (14 commits)")

### Embed Badge

![Health badge](/badges/nblum-silverstripe-customizableinputfield/health.svg)

```
[![Health](https://phpackages.com/badges/nblum-silverstripe-customizableinputfield/health.svg)](https://phpackages.com/packages/nblum-silverstripe-customizableinputfield)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

291.8k](/packages/webkinder-sproutset)[awkwardideas/switchblade

Extended blade directives for laravel

102.1k](/packages/awkwardideas-switchblade)

PHPackages © 2026

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