Page Loading

Enquiry form

The enquiry form helps users get in touch with us, and gathers enough information for us to answer their enquiry.

Example

You'll find an example of our enquiry form on the Scottish Development International website. 

See enquiry form example opens in a new window  

How to use the enquiry form

Use the enquiry form whenever you want a user to be able to contact us. Most of our sites will have a generic enquiry page, as well as some more bespoke pages for specific services.  

If you’re creating multiple enquiry forms, remember to keep track of them all so that if a change needs to be made, it can be made across all pages that include the form.  

Enquiry forms should contain enough information to allow us to answer the user’s question and save their record in our system. 

If you need to, you can add some information in accordions before the enquiry form, to help redirect some users to more appropriate forms or services.

Error messages

The enquiry form uses our standard error pattern. When a user hits ‘submit’, any errors should be returned in the error summary at the top of the page, with links to the individual fields that failed validation.  

See our guidance for each form component for more specific information about how to write error messages for those components.

Adding an enquiry form in the CMS

To re-use an existing form, just add the enquiry form component to the page where it should appear, along with any other components you need, like a hero, summary text or accordions. In the ‘Enquiry settings’ section of the component, select the form from within ‘site settings’ that you want to appear.  

If you need to create a bespoke form, or no form exists yet, you need to first create one under ‘site settings’. Most of the fields like name and address are fixed, but you can change the ‘What is your enquiry about’ field to add custom options. If you need to update any of the other fields, speak to Louise Spence. 

Accessibility

Users must be able to tab through the fields on the form using a keyboard, and each element must be correctly marked up so that assistive technology can still understand and navigate the page. Each field should have a clear label so users know what information they need to give, and a class so assistive technology knows what type of field it is – a dropdown, text input, radio or other type. You may also want to provide additional ARIA code or SR-only text to help.  

Questions on the enquiry form should be clear and easy to understand.