'Sharepoint List - Populate a field with the page name/title

I'm new to sharepoint (working with the 365 version).

I have a list that will be available across multiple pages within a site to collect data on project updates.

As I'd like to avoid having to create a separate list for each page and at the same time remove the need to manually populate a "Project Name" field I'm looking for a way to populate that field automatically based on the page name (title).

Does anyone have a solution?

Thanks David



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source