Create a form for adding pages from a template

Create a form for adding pages from a template

Scenario

To guide Confluence users in content creation, you can provide a simple form for creating structured pages. The form consists of:

  • A page title prefix and postfix

  • An input field with a helper text for entering a page title

  • A named button

The auto-generated pages can:

  • Automatically use a Confluence template or page

  • Automatically categorize the page under a parent page

  • Automatically add labels to the page

Result

Screenshot of a page containing a form for creating pages with an input field for a project name.

Recipe

Apps

 

Linking for Confluence, Scaffolding Forms & Templates for Confluence

 

Platform

Cloud

Level

Easy

Estimated time

5 minutes ⏱

Macros

Add Page via Form

Create the form

As a Confluence space administrator, create a form for adding pages about the organization projects.

  1. Create a space template named Project template and populate it with the base structure for the project pages.

  2. Create a page named Projects and insert the Add Page via Form macro.

  3. For the Button text parameter, enter a name for the button. For example, enter Create a page.

  4. To configure the base structure for the generated pages, specify the following Page source parameters:

    • Set Source type to Template/blueprint to use a Confluence template as the base for the new pages.

    • From the Source drop-down list, select the page you created in step 1, that is, Project template

  5. For the Parent parameter, leave the default Current page value.
    This setting creates new pages as child pages of the page that hosts the form.

  6. For the Field hint parameter, enter Project name.
    When the form input field is empty, this text appears as a helper text.

  7. Expand the Configure page title prefix/postfix section and set the Page title prefix parameter to Project - . This setting ensures that all new pages are named Project - <Project name>.

    • The titles of all pages begin with Project.

    • The editor adds the specific project name in the form input field.

  8. For the Labels parameter, enter project. This setting adds the project label to the new pages.

  9. Click Insert.

  10. Optionally, add the Child Pages macro.

  11. Click Publish.

Create a page using the form

As a Confluence page editor, to create a page for a project using the form:

  1. On the Projects page, enter a project name in the form input field and click the Create page button.
    A page draft, named Project - <Project name>, opens in edit mode. It contains the Project template content.

  2. Fill out the template for the corresponding project.

  3. Click Publish.

The page is created as a child page of the Projects page.

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.