4 votes

Form Storage V8

Form Storage V8 is an Umbraco version 8 compatible re-working of Kevin Giszewski's original Form Storage package.

As per the original, the new package offers a simple way to take user submitted data and store it into your database,  perfect for use with MVC Surface Controller forms.

This package comes with a datatype that you can place on any document to search the data.


On install, this package will add three tables to your database.  You will need to remove these tables manually on uninstall (this prevents unintended data destruction).

You will need to add a few AppSettings keys to your web config.

Use one key to setup each form with it's fields like so:

<add key="FormStorage:ContactUs" value="name,address,email,phone,comments"/>

This adds the "ContactUs" form with the fields name, address, etc.  You may house as many forms as you wish.



You can optionally provide some configuration of how your fields are displayed when form submissions are listed in your back-office. The first example shows how to provide some more human-friendly names for your fields:

<add key="FormStorage:Translation:name" value="Name"/>

<add key="FormStorage:Translation:email" value="Email Address"/>

<add key="FormStorage:Translation:phone" value="Phone"/>

<add key="FormStorage:Translation:address" value="Address"/>

<add key="FormStorage:Translation:comments" value="Comments"/>

<add key="FormStorage:Translation:company" value="Company"/>

It is recommended that you create very simple field names that resemble the data closely.  The more human friendly names can change without any consequences to the data. N.B. these field name translations are used across all of your forms.

The V7 package offers some further configuration options:

1. The width of a field (in pixels) can be set (default is 100):

<add key="FormStorage:YourFormAlias:YourFieldName:width" value="150"/> ‚Äč

2. The horizontal alignment of a field can be set to leftright or center (default is center):

<add key="FormStorage:YourFormAlias:YourFieldName:align" value="left"/>

3. The visibility of a field can be set to true or false (default is true):

<add key="FormStorage:YourFormAlias:YourFieldName:visible" value="false"/>


Wire up your form:

In your MVC Surface Controller, add something like this to save submissions:

using FormStorage;


new Dictionary<string, string> {

        { "name", m.Name },

        { "email", m.Email },

        { "address", m.Address},

        { "company", m.Company},

        { "phone", m.Phone},

        { "comments", m.Comments}



Search the Results:

Create a datatype instance using "Form Storage", set the prevalue to your form alias and then drop the datatype onto a doctype of your choosing.

A sample datatype has been included with the install.

Many thanks again to Kevin for his excellent original!


Package owner

Scott Meikle

Scott Meikle

Scott has 212 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 10.0.x (untested)
Version 9.1.x (untested)
Version 9.0.x (untested)
Version 8.18.x (untested)
Version 8.17.x (untested)
Version 8.16.x (untested)
Version 8.15.x (untested)
Version 8.14.x (untested)
Version 8.13.x (100%)
Version 8.12.x (100%)
Version 8.11.x (100%)
Version 8.10.x (100%)
Version 8.9.x (untested)
Version 8.8.x (untested)
Version 8.7.x (untested)
Version 8.6.x (untested)
Version 8.5.x (untested)
Version 8.4.x (untested)
Version 8.3.x (untested)
Version 8.2.x (untested)
Version 8.1.x (untested)
Version 8.0.x (untested)
Version 7.15.x (untested)
Version 7.14.x (untested)
Version 7.13.x (untested)
Version 7.12.x (untested)
Version 7.11.x (untested)
Version 7.10.x (untested)
Version 7.9.x (untested)
Version 7.8.x (untested)
Version 7.7.x (untested)
Version 7.6.x (untested)
Version 7.5.x (untested)
Version 7.4.x (untested)
Version 7.3.x (untested)
Version 7.2.x (untested)
Version 7.1.x (untested)
Version 7.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Scott Meikle
  • Created: 27/04/2019
  • Current version 0.1
  • .NET version 4.7.2
  • License MIT
  • Downloads on Our: 297

External resources