Create a simple form with Scaffolding macros
Let’s create a simple form containing text and numeric data and dropdown lists.
Overview
In this example, we use Scaffolding to create a form for a user to fill in with data. Then, we reuse that data and display it in a structured way.
Ingredients
Apps | Scaffolding |
|---|---|
Macros | Text Data, List Data, List Option, Live Template |
Guide
Create a table as in the following image:
Add Text Data, List Data, List Option, and Number Data macros as in the following image:
Use unique macro names to avoid conflicts.
Save the page.
You can now click Edit Contents to enter data into the form.
Notes
To simplify editing the Text Data content, you can set the Content Type parameter to text instead of richtext.
To allow multiple selections for List Data, select Allow Multiple.
If there are many pages with similar content, consider using Live Template.
For more details, see Collect and displaying data in a structured way,
Result
Project Details
Project Name | Docs Site Update |
Project Details | The technical writer should overhaul the look of the docs site and rewrite the content. |
Project Code | NEWDOCS |
Estimated Completion Date | Apr 12, 2023 |
Contract Type | Fixed Price |
Estimated Hours | 100 |