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:
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.
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.
There are many different types of Page Blocks, each with their own purpose:
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.