PHPackages                             plasticstudio/silverstripe-formhelper - 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. plasticstudio/silverstripe-formhelper

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

plasticstudio/silverstripe-formhelper
=====================================

Heyday's SilverStripe form helper

2.0.0(1y ago)083BSD-3-ClausePHP

Since Apr 23Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/PlasticStudio/heyday-legacy-silverstripe-formhelper)[ Packagist](https://packagist.org/packages/plasticstudio/silverstripe-formhelper)[ Docs](https://github.com/PlasticStudio/heyday-legacy-silverstripe-formhelper)[ RSS](/packages/plasticstudio-silverstripe-formhelper/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

silverstripe-formhelper
=======================

[](#silverstripe-formhelper)

This is a copy of the `heyday/silverstripe-formhelper` module which is unable to be found

Heyday's SilverStripe Form Helper

The idea is that primarily this module provides reusable form fields of a slightly more complex nature including validation and to avoid redesigning and rebuilding each time.

For starters, this is going to include the following.

AddressField for auto completing addresses using Google's autocomplete API
--------------------------------------------------------------------------

[](#addressfield-for-auto-completing-addresses-using-googles-autocomplete-api)

The following JS is needed:

```

```

You can choose to limit autocomplete to NZ by passing the following option when instantiating the field:

```
new AddressField('Address', ['NZOnly' => true]);

```

You set the Fields as following:

```
        $addressFields = new AddressField('Address', ['NZOnly' => true]);
        $addressFields->setAddressFields([
            'Street Address' => 'autocomplete',
            'Street And Number' => 'streetAndNumber',
            'Street' => 'street',
            'Suburb' => 'suburb',
            'City' => 'city',
            'PostCode' => 'postalCode'
        ]);

```

where the value of the Array is the field you want from Google autocomplete. The following fields are available:

- `autocomplete` - Your auto-complete field
- `suburb`
- `city`
- `state`
- `postalCode`
- `streetNumber`
- `street`
- `streetAndNumber` - a concatenation of street number and street

Recaptcha Field
---------------

[](#recaptcha-field)

Using ReCaptcha V2.

You need to set the `RECAPTCHA_SITE_KEY` and `RECAPTCHA_SECRET` environment variables. To do so you can edit the **.env** file in your SilverStripe project.

```
RECAPTCHA_SITE_KEY=site_key
RECAPTCHA_SECRET=secret

```

and usage:

```
new RecaptchaField('Confirm', 'Confirm you are a human')

```

See  to retrieve your keys.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance68

Regular maintenance activity

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

428d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4179876?v=4)[PS/digital](/maintainers/plasticstudio)[@PlasticStudio](https://github.com/PlasticStudio)

---

Top Contributors

[![josephlewisnz](https://avatars.githubusercontent.com/u/57464168?v=4)](https://github.com/josephlewisnz "josephlewisnz (3 commits)")

---

Tags

silverstripeformcustom fieldAddress Field

### Embed Badge

![Health badge](/badges/plasticstudio-silverstripe-formhelper/health.svg)

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

###  Alternatives

[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39317.0k29](/packages/lekoala-silverstripe-cms-actions)[burnbright/silverstripe-externalurlfield

Provides SilverStripe with a DBField and FormField for handling external URLs.

109.6k1](/packages/burnbright-silverstripe-externalurlfield)

PHPackages © 2026

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