App Builder

Page Blocks

Updated: October 23, 2020

The Legal Apps that you create with the Community.lawyer App Builder are essentially robust online forms (a series of form pages the end-user can click through, answering questions along the way). Each page in your online form is known here as a "Page Block."

Each Page Block in your App is presented to the end-user one at a time in a linear sequence: 

Page Blocks vs. Logic Blocks

There are many different types of Blocks, but all can be divided into two categories: Page Blocks and Logic Blocks. Page Blocks are visible to the end-user, Logic Blocks are not.

Page Blocks make up the "front-end" of your App, while Logic Blocks make up the "back-end" or the "background code." Simple Apps may not require any Logic Blocks, but every App must have at least one Page Block.

Page Blocks and Logic Blocks both appear in the same place in the App Builder; Logic Blocks looks slightly different:

Because Logic Blocks are invisible to the end-user, it does not matter where you place them in the order of your Blocks.

How to skip Page Blocks

By default, every Page Block will be displayed to the end-user in the order they are arranged. You can add conditional logic to a Page Block to  display it only under certain conditions.

To add "display if..." logic to a Block, simply click the "display if..." toggle:

Clicking this toggle allows you to edit a logical expression. If that logical expression is true (or, as we say, if it "evaluates to true"), then and only then is the Page Block displayed to the end-user.

You can learn about editing logical expressions here.

Types of Page Blocks

There are many different types of Page Blocks, each with their own purpose:

  • Question Block: By far the most common type of Page Block in your App. Question Blocks allow you to ask the end-user one or more questions. All Question Blocks must have at least one question on them.
  • Info Block: On this Block, the end-user can read information and simply click "continue". There are no questions on an Info Block.
  • Signature Block: Collect an e-signature using the default Community.lawyer signature feature.
  • HelloSign Block: Collect an e-signature using HelloSign, a popular e-signing product that creates an audit trail of all signatures. Learn more about HelloSign Blocks here (TO DO).
  • Payment Block: Collect a payment from the end-user with either Stripe or LawPay.
  • Final Block: This concludes your App. Your App must have at least one Final Block; it is very likely that your App will have many.
  • Background Block: These are a special kind of Page Block that is not visible to the enduser of the app but that triggers actions like sending data to a database (e.g. a Workbase) or sending an email. Although background blocks are invisible, they otherwise behave like other types of Page Blocks. Importantly -- and unlike with Logic Blocks -- the order you put a Background Block in determines when the action or actions it triggers run.

Intro to repeating Page Blocks (loops)

You can collect a set of Page Blocks into a "loop." These Page Blocks will be presented to the end-user over and over, as long as the end-user opts to continue the loop. This is how we allow you to collect information about X number of things.

The classic example for a loop is collecting information about an end-user's children. In Community.lawyer Apps, you can't ask the end-user "how many children do you have?" and then use their response to determine how many times you ask for a child's name and social security number. Instead, you must use a Loop Section.

You can learn more about loops here.

Contact us for support

Talk to a real person, quickly. We're available 9am - 5pm EST.