Skip to end of banner
Go to start of banner

Part 3 - Creating an FAQ article template

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

For our FAQ article, we will use the repeating-data macro from Scaffolding Forms and text-data macro for form inputs. The repeating-data macro allows users to duplicate what is nested inside the repeating-data block.  

We give the repeating-data block 5 initial rows so that a new copy of this template will render 5 question-answer pairs initially. The tutorial for this template can be found in our technical documentation. 

Using the Live templates feature from Scaffolding Forms, we can create a new page with the live-template block, and render an FAQ article such as this one:

Great! Now users can quickly fill up the FAQ form with content and get going.

Finally, learn how you can a create a new article with this template in this tutorial.

Click here to view source code >

The great thing about Live Templates

Imagine you'd like to modify the FAQ template and you have already created several FAQ pages. It would be a nightmare to have to update all of them individually.

By creating a live-template block on the page, the page renders the structure of a predefined template and displays the data entered by the user via forms. We only need to edit the template for its structure to be reflected across multiple pages running the same live template.


  • No labels