Get news in your inbox - email firstname.lastname@example.org to subscribe to our newsletter.
29 November 2023
New step to getting forms live
The ability to publish to Live is no longer available immediately with new forms. Now, when you are satisfied that your form is ready to go live, you need to apply to unlock publishing.
This can take up to 3 working days.
Normally, publishing will be unlocked and you will receive a confirmation by email. If there are any issues, a member of the MoJ Forms team will contact you directly.
Once publishing to Live has been unlocked, you are free to publish your form at any time. You won't need to go through this process again for any future updates.
This only affects live publishing. You are still able to publish forms to the Test site without restriction.
23 October 2023
Targeting content with visibility
You can now customise areas of content within a page using the new content visibility setting.
Visibility is what we call being able to show users different blocks of content based on their previous answers. With visibility, you can change or hide some of the content on the page for different users.
It's also a really powerful tool for creating 'smart answer' services where you ask the user a series of questions and provide information tailored to their answers. Visibility allows you to use a single information page to serve dozens of different combinations of answers.
Visibility is a setting on all content areas - the text boxes that allow you to add paragraphs of content and use markdown formatting. These are on content pages, exit pages, the confirmation page and a number of other page templates.
Visibility allows you to set a content area to show:
- always (the default setting)
- only if…
With "only if…" you set the conditions under which the content area will show. For example, only show if a user answered yes to a previous question or selected a specific option. It works just like branching, only you are creating rules on a page rather than between pages. And as with branching, visibility rules can only be based on radio button or checkbox questions at the moment.
9 August 2023
Help navigating large forms
A couple of recent new features should make navigating and managing large forms a little easier.
It's now possible to highlight up to 2 connection paths at a time to make it easier to follow them. In simple forms, it's easy to see how one page is connected to another but this gets harder as a form grows. Some connections can grow quite long as they loop around other pages and it can be hard to follow them, particularly if you need to scroll through the form at the same time.
You now have 2 ways to highlight these connections:
- move the mouse pointer over a connection, which makes it bold and blue only while the mouse pointer is on the line
- click a connection, which makes it bold and orange even while you move around the flow view - the arrow will stay orange until you click it again, click a different arrow or leave the flow view
You can use both of these options at the same time to track and compare 2 different connections.
In addition to these options, MoJ Forms now remembers your position in the flow view when you open a page to edit it or perform actions like moving or deleting pages. When you have finished with your edits or actions and return to the flow view, you will be taken back to your previous position. No more having to scroll from the beginning of your form every time.
17 July 2023
How to collect multiple files in one go
You can now use the file upload question page to collect multiple files from users in one go.
Up to now, a file upload page has only allowed users to select a single file. Now, a new option lets you choose the maximum number of files that a user can upload to the page, to a maximum of 10. (The default will continue to be 1.)
This can be useful if:
- you don't know how many files the user might want to upload
- the user is likely to have several files of the same type, such as receipts or proofs of ID
In many cases, it may still be better to ask for files over several different pages, rather than all in one go. This approach enables you to be more explicit with the user about what they need to provide and ensure they provide all the required files.
You can set the maximum number of files when editing a file upload page in the MoJ Forms editor. To do so, click in the question title to highlight the component settings button (...) and select "Number of files…"
See Asking users to submit a file in the user guide for details.
10 July 2023
Changing your form's name and URL
The option to rename your form in the MoJ Forms editor is back - and you can change the URL now, too.
Your form's name is important. It affects how people find your form (through search, for example) and helps them understand what it's for and if it's right for them. But for a while now, you've not been able to change it yourself. You've been stuck with the name you set when first creating your form and dependent on our support team changing it for you.
Now you can review and update both your form's name and URL in settings. You can change your form's name at any time but you can only change the URL up until you have published your form to Live. This is because changing a Live form's URL can cause problems for users.
We have also updated our guidance to help you pick a good name. The best form names:
- describe a task, not a team or department
- use the same words your users would choose
- start with an action, such as "Get help with..." or "Apply for..."
11 May 2023
Take some of the stress out of long forms by letting users save their work
People filling in your form will be able to save their progress and return to complete it later using MoJ Forms' latest feature.
Save for later enables users to save a partially-completed form and retrieve their answers using a special one-off link we email them. It's an ideal option for forms that:
- are long or complex
- include questions that users might want time to think about
- ask for information that users might not have immediately to hand
Save for later is an optional setting. When enabled, it places a secondary save button on question pages, allowing users to choose whether to continue or save for later at any point.
To save their progress, users need only to enter an email address and a security answer. We then email them a link that they can use to return to the form and retrieve their saved answers.
Learn more about save for later in the user guide.
29 March 2023
More time to complete forms
People will be able to take more time filling in your forms without fear of losing information thanks to recent improvements to session management.
A session is the time a user has to complete the form. Setting a time limit helps protect user data in case they share a computer and walk away in the middle of filling in a form.
Previously, the session was fixed at 60 minutes. Any user who took longer than an hour would lose their work with no way of saving it.
Now, the session is 30 minutes but this is refreshed every time a user enters some information or interacts with a button or feature on the page.
In addition, if nothing happens on a page for 25 minutes, the form will warn the user that the form is about to reset. If the user acknowledges the message, the session will refresh to 30 minutes. If nothing continues to happen for another 5 minutes, the form will reset. Any information entered into the form up to that point will be deleted and the user will need to start again.
This approach gives users more flexibility in completing forms and removing any pressure to complete them in a fixed time. But there are still things you can do when designing your form to help users who might need more time.
10 March 2023
Changes to email settings
We have made some changes to the ways we collect and use your email addresses in form settings.
Firstly, we have removed the 'from' address setting. This is because it was causing some emails to end up in spam folders. But we still want your form emails to look and behave as if they are coming from your service, not from the MoJ Forms team. To help with this, we have made 2 other changes:
- added your form name to the 'from' field in all emails
- added a reply address to the confirmation email template
Now, when your form sends an email - either the submission email to you or the confirmation email to your users - it will show as coming from your form name.
In addition, the confirmation email template now includes a field for a reply address. This is an address that emails will go to if a user chooses to reply to the email. You need to include this even if you don't want users to reply. Users may reply anyway and could include personal information. For data protection purposes, these emails should only go to your team.
Overall, these changes should make setting up your form emails a little simpler and more intuitive.
Learn more about sending users a confirmation email in the user guide.
6 January 2023
2022 in review
2022 may already feel like a distant memory but we took some time to look back at everything we achieved throughout year.
20 December 2022
Taking payments through GOV.UK Pay
If you have a GOV.UK Pay account and are set up to take payments through a payment link, MoJ Forms can now help you join up form submissions with payments.
A GOV.UK Pay payment link is a page on GOV.UK Pay that you can use to take card payments instantly. You can combine this with MoJ Forms to create a 2-step process for users to apply and pay for something:
- Step 1 - the user completes and submits your form. They are given a unique reference number and a link to your GOV.UK Pay payment page on the confirmation page and in the confirmation email.
- Step 2 - the user goes to your GOV.UK Payment page to complete payment. The MoJ Forms reference number is automatically applied to that payment.
You can then match the form submission with the payment using the MoJ Forms reference number.
You will need to set up a GOV.UK Pay account if you don't already have one. You can set up a test page in a few minutes but you should allow several months to set up your payment service provider and be ready to start taking payments.
Learn more about setting up and taking payments through GOV.UK Pay.
6 December 2022
Providing users with reference numbers
MoJ Forms can now generate unique reference numbers for each submission made by your form. This can make it easier to keep track of the submissions you receive and discuss them with users should the need arise.
For each submission made, a 10-digit number is generated and inserted into:
- the confirmation page
- the subject and message of the submission email
- the PDF and CSV attachments of user answers
- the subject and message of the confirmation email
(You will need to enable the emails separately.)
Set-up is easy - you can turn the setting on or off with just a single checkbox. The references are inserted or removed from your form automatically. Doing so will overwrite any custom text in your email templates though, so we recommend taking a copy of your emails beforehand.
Learn more about providing users with reference numbers.
14 November 2022
Sending your users a confirmation email
You can now send users a confirmation email when they complete your form. The message can be customised to your service and the user’s answers will be attached in PDF.
A confirmation email can be used to:
- reassure users that their information was submitted successfully
- allow users to double-check the information they provided and keep it for reference
- help you repeat and reinforce important messages from the confirmation page, such as response times and contact details
To enable this feature, you will need to capture your users’ email addresses using the email address question format.
2 September 2022
Presenting users with a long list of options
A new question type called autocomplete enables you to specify a large range of options for the user to choose from, such as a list of courts or locations.
An autocomplete question presents the options in a dropdown menu while also allowing the user to type ahead to find matching entries.
This format is best when there are a lot of options to choose from. Smaller numbers of options are better presented using radio buttons.
The options must be uploaded to MoJ Forms in comma-separated values (CSV) format.
For more information on using autocomplete and formatting and uploading your options, check out the user guide.
22 August 2022
Monitor your form’s performance with Google Analytics
You can now link your form to a Google Analytics account to get real-time insights on your form’s performance and the people using it.
The new feature, under the settings tab, requires that you have an existing Google Analytics account. To enable it, simply add your tracking ID. You can use:
- Universal Analytics - Google’s legacy analytics service which will be retired in July 2023
- Google Analytics 4 - Google’s latest analytics service, which we recommend for all new forms
- Google Tag Manager - an alternative way of adding analytics to a form without needing to edit the code
To comply with data protection regulations, users are given the option of accepting or rejecting analytics cookies when they first visit your site. This means you will only receive data for the users that actively opt-in to analytics.
4 August 2022
Collecting information in CSV
You can now collect the information your form users submit in comma separated values (CSV) format as well as PDF.
CSV files list the answers in plain text, separated by commas. They can be imported into spreadsheets and other applications, making it easier to handle and process the information you receive. For example, you could import data from multiple CSV files into Microsoft Excel at once.
You will continue to receive information in PDF as well, even with CSV enabled. The CSV will be sent in a separate email. You will be able to choose between file formats in a future update.
Check the user guide to find out how to enable the CSV option.
30 June 2022
Textareas now include a counter
People filling in a textarea with a maximum answer length are now shown a counter as they approach the limit. A prompt appears below the textarea when the user reaches 75% of the limit - either characters or words, depending on the validation setting. It keeps a count of how many characters or words are remaining or over the limit.
Maximum answer length is one of the validation options launched last month allowing you to specify things like the length or limits of an answer.
30 May 2022
How to check answers as users enter them
Do you want to limit how much a user can write in your form or ensure that the information they enter is what you need? Now you can.
We have introduced a range of validation options to some question types, allowing you to specify things like the length or limits of an answer. When validation is present, the form will check that the user’s answer is within the specified parameters before moving to the next page. If it isn’t, it provides a useful error message and prompts the user to revise their answer.
The new options include:
- setting minimum and maximum character counts for text and text area questions (or word counts for text areas)
- setting minimum and maximum values for number questions
- setting earliest and latest dates for date questions
See Validating user answers for details.
11 May 2022
Usernames and passwords now needed for all Test forms
All forms on our Test site now require a username and password to access, which you set yourself during the publishing process. These credentials can be shared with anyone you want to view your draft form.
Up to now, setting a username and password has been optional. We have taken the decision to make it a requirement to help protect your work in progress and reduce the risk of anything inappropriate becoming public.
If you have a form on the Test site currently you will need to republish it and create a username and password.
25 April 2022
An easier way to move pages
You can now change the order of pages in your form flow with just a few clicks using a new move page feature.
The option is listed in the page menu, which you can open by hovering over the page you want to move and selecting the menu button (3 dots in a circle). A modal allows you to select the place you want to move your page to.
You can move most pages in this way, including pages that have become unconnected. Branching points, check answers and confirmation pages can’t be moved. In these cases, the move page option is not shown in the menu.
18 January 2022
Branching is now live in MoJ Forms
It's now possible to add logic to forms and show users different questions based on their previous answers using new branching functionality in MoJ Forms.
Branching is the ability to show the people filling in your forms different pages based on their previous answers. You can create multiple routes - branches - through your form so that the people filling it in see only the questions or content that are relevant to them.
Branching allows you to:
- improve the quality of information you receive
- reduce the number of submissions you get from ineligible users
- show users more relevant questions, making your form easier and quicker to fill in
- present users with information tailored to their needs and circumstances
Branching currently works with 2 question types - radio buttons and checkboxes. You can make branching decisions based on whether the user answers the question and what answers they select. You can do this with a single question or a combination of questions.
As well as the core branching functionality, we have introduced a raft of new features, including:
- A new starting template - consisting of a start page, a check answers page and a confirmation page. This is to help new users understand that forms are made up of consecutive pages and also saves you from having to create check answers and confirmation pages every time.
- A new way to add pages - through the new connection menu button (+) that sits on every connecting arrow.
- Changing the order of pages - using the ‘change next page’ option in the new connection menu. This feature effectively allows you to point an arrow at a different page and shuffle your pages around.
- Exit pages - a new page template to use at the end of a branch when you don’t require the user to submit any information. For example, you could tell the user that they are not eligible to continue.
- Unconnected pages - one consequence of branching is that pages can become unconnected. This happens when a page has no other pages leading to it. These pages are stored in a separate section of the form flow and can be brought back into your main form by changing the order of pages.
To get started, open the connection menu at the point where you want your form to branch and select ‘Add branching’. This will create a ‘branching point’ - a page where you configure the rules for your branches. If you’d like to know a little more about how it works, or have any questions, there are detailed instructions in the user guide under Branching and flow management.
18 January 2022
A better way to collect email addresses
MoJ Forms now includes a component specifically designed for collecting email addresses.
The component follows the GOV.UK Design System pattern for asking users for their email addresses. It looks like a standard text input but includes custom validation to ensure that what the user enters fits a valid email address format.
You can find the email address option when adding a new single question page and when adding components to a multi-question page.
18 January 2022
Special characters in form names
Form names can now include hyphens and apostrophes.
When you create a new form, the name is used in the form's URL. To ensure we produce only valid URLs, special characters are not allowed.
However, after talking to users, we know that hyphens and apostrophes are most likely to be needed in titles so we have relaxed the rules to allow them. When creating the URL, the apostrophes are stripped out. For example, a form name of Register your father-in-law's permit would result in a URL of https://register-your-father-in-laws-permit.form.service.gov.uk.
You can change the name of any existing form in settings.
4 January 2022
2021 in review
Here’s a short but sweet summary of everything we’ve been up to in MoJ Forms in 2021 with a look forward to our plans in 2022.
8 December 2021
Why your form needs check answers and confirmation pages
MoJ Forms includes a variety of page templates to help you quickly build a fully working GOV.UK-style form. How you build that form is largely up to you but one part of the form design is fixed. If you want the form to submit any information it collects from users, it must have a check answers page and a confirmation page. These pages contain the code that sends an email to your chosen inbox and without them the user data goes nowhere.
We realised that might not have been clear to all users. To fix this, we recently added a small alert to the publishing page which will highlight if your form is missing a check answers page or confirmation page. Next year, as part of the branching release, we will also incorporate the check answers and confirmation pages into the new form template and add alerts to the flow view.
We hope these changes will make it much clearer to all users why your form might need these pages and what to do if they are missing.
8 December 2021
Password issue for DOM1 Edge users
People who use the Edge browser on DOM1 machines are currently unable to open forms that have been password protected. This will probably only be an issue for editors and stakeholders when testing forms before going live. The problem is due to the way we authenticate users, which MoJ IT blocks in Edge only. Other browsers are unaffected.
There are a couple of easy workarounds:
- use another browser, such as Firefox or Chrome, if available
- failing that, remove password protection from the form
To fix this, we need to change the way we authenticate users. For now, that’s not a priority, but we’ll be looking into it at a future date.
20 September 2021
Our plan to help teams transform paper forms
We have a new blog post out reporting on our discovery into the potential for a supported service to help the MoJ tackle its range of legacy paper forms. We found a broad desire among form owners to develop digital versions of their forms, but in many cases they lack expertise and capacity to do so. The discovery proposed and tested 3 different levels of support that could be extended to form owners to help them with the transformation using MoJ Forms.
You can read more on the D&T blog: Creating a digital approach to paper forms.
6 August 2021
Why we ask for page names
We have made some minor changes to the way you add a new page to a form.
Previously, when you added a new page to your form, we asked for a URL. Some users found this question confusing so we took another look.
Each page of a form has its own unique URL - test.form.service.justice.gov.uk/page-1, test.form.service.justice.gov.uk/page-2 and so on. It’s just this last part of the URL (sometimes called the slug) we need from the user, which we realised wasn’t clear.
To help explain this more clearly, we have rephrased the question and added some hint text. We are also adding some additional error messages to give users an extra nudge where needed.
Longer term, we think we can take this even further and remove the need for users to name their pages altogether. That requires a little more development so has been added to our backlog.
6 July 2021
How to format content
MoJ Forms uses something called markdown to let you add formatting to content. Markdown is a way of adding formatting to plain text using basic symbols and patterns.
With markdown, you can add headings, links, lists, tables and more. For example, to create a bulleted list, you start each item with an asterisk (*).
You can use markdown in any content area, which you will find on content pages, as well as the start page, confirmation page and several other templates.
Check out the support section for more information on formatting content with markdown including a selection of common markdown features to use in your forms.
6 July 2021
Fixed: deleting components on a multiple question page
You can now delete components from a multiple question page.
To delete a component:
- click in the component title field to show the component menu (3 dots in a circle)
- click to open the component menu
- select delete and confirm the action
11 June 2021
How to collect files from users
MoJ Forms now enables you to ask users to attach files to their forms, such as proof of ID, receipts and bills.
The file upload component supports a variety of file formats, including images, MS Office and OpenDocument, up to 7MB in size. (See the user guide for the full list of supported files.)
You can find file upload under the single question page menu. For now, users can attach only one file per page. To collect additional files, you will need to add extra file upload pages.
11 June 2021
Fixed: optional field labels no longer show in preview
Our page templates contain several optional areas for content. These are indicated by square brackets and labelled as optional, such as [optional section heading]. If you leave these fields with their default text, they won’t show on your final form, but until recently they did show in preview mode. That bug has now been fixed.
If you find any optional fields still showing in preview, you may need to ‘reset’ them. To do this:
- open the affected page to edit
- click into the optional field and delete the default text
- click anywhere else on the page - the default text should reappear
- save your changes and preview your form to check that the optional fields are no longer showing
21 May 2021
How to make a question optional
It is now possible to make a question optional so that a user can move on without answering it. This can be done with both single question pages and individual questions on multi-question pages.
To make a question optional, first click in the question title as if you are going to edit it. This highlights the component settings menu (3 dots in a circle). Clicking on the menu will open it. It looks like this:
For now, there is only one setting, called ‘Required’. All questions are required by default, which is indicated by a tick. Click on this setting to switch required to ‘no’ and make your question optional.