Digital pattern library

Form banner

The form banner pattern allows form elements to be used in full-width banner sections.

Rules for form banner

Options available


Form banner

The simplest implementation places the form underneath a heading and optional sub heading.

Example

Forgotten your library username?

Enter your University email address to receive a secure recovery link.

Code

Forgotten your library username?

Enter your University email address to receive a secure recovery link.


Form banner - side by side

This places the form alongside a column of text content. This option is most suited to simple forms that have an introduction that would wrap over multiple lines. This example shows a basic newsletter subscription implementation.

Example

Interested in Philosophy at St Andrews?

Subscribe to receive important information including visiting days and other events for prospective students. The University will only use this information to contact your about this specific topic and you may unsubscribe at any time.

Code

Interested in Philosophy at St Andrews?

Subscribe to receive important information including visiting days and other events for prospective students. The University will only use this information to contact your about this specific topic and you may unsubscribe at any time.


Form banner - inline

This option places the form directly underneath the text content. This example shows a set of filters that can alter a set of results.

Example

Filter by subjects or country

If you are a Joint honours student, please select both 'subject' and 'joint subject'.

Code

Filter by subjects or country

If you are a Joint honours student, please select both 'subject' and 'joint subject'.