Home Office Forms (HOF) is a single package that bundles up a collection of modules used to create forms at the Home Office in node.js.
Read the support documentation for more details or see use the simple instructions below to get started, or start a discussion on Slack
The example app is also a good place to start. We recommend cloning the repository, cleaning the commit history, and replacing the example form in there with one of your own. The example shows examples for most of the common ways you might want to use the libraries.
HOF provides the following which can be accessed through its properties.
- hmpo-form-wizard
- hmpo-frontend-toolkit
- hmpo-govuk-template
- hmpo-model
- hmpo-template-mixins
- hof-controllers
- i18n-future
- hof-middleware
- Contact UK Trade & Investment (UK Trade & Investment)
- Biometric Residence Permit (Home Office)
- Report terrorist material (Home Office)
- HOF Example Form (Home Office)
- UKVI Complaints (Home Office)
$ npm install --save hof
var hof = require('hof');
var wizard = hof.wizard;
var toolkit = hof.toolkit;
var template = hof.template;
var Model = hof.Model;
var mixins = hof.mixins;
var controllers = hof.controllers;
var i18n = hof.i18n;
var middleware = hof.middleware;