Toggle menu

Tools and Snippets

Useful things to use in the platform.

Article Feedback Form

This form can be linked to from the article feedback bar. It captures the ID of the article being fed back on and starts a Case Management case.

Calculate Age from Date Input

Enter a date of birth and the person's age is displayed in a read only field below the date.

Calculate School Year Group

Works out the school year group that a pupil would be in when you enter their date of birth.

Check a Date is Before Another Date

Compares two dates to make sure that the end date is after the start date.

History Explorer

Browse all of the histories created by the History worker.

Identify jQuery in Forms

This utility end point returns a list of forms that potentially contain jQuery.

My Account Preferences

This form is designed to appear on the My Account template. It lets users update the user groups they are in, customising the panels that appear in My Account.

Name, Contact and Address Fields

These form fields follow the standards set in the GOV.UK Service Manual. You can save them as snippets or copy and paste them into any of your forms.

Replace all internationalisation tokens in a string

This endpoint extends the standard i18n tools from GOSS with an easy method to localise all of the tokens contained in a text string in a single call.

User Registrations Dashboard

Displays information on the number of accounts, how active they are, and whether created by Assisted Service or not.

Share this page

Facebook icon Twitter icon email icon

Print

print icon