Sections – Basic, Conditional, Copyable

A section is a wrapper of multiple fields added to an app. They serve two purposes –

  1. Educate users about the nature of fields (modules) inside the section
  2. Put conditions to display/hide all the fields inside the section

Editing a section

  • Click on a section name to edit it
  • Add a title to the section. You can also remove the default title “Untitled Section” to keep it blank.
  • Click on the Save button.
  • You can add more fields by clicking on a field after which you want the new field and then click on the plus icon to get the module popup.
  • You can also drag an existing block to change its section

Conditional section

This is one of the most useful features that help app creators create very complex apps. You can use this to introduce branching in your apps.

  • Click on a section title to select the section that should appear when some condition is met.
  • Click in the input box under the title “Display this section if” on the right panel.
  • Type @ to call all variables of the app.

In the example above, we are adding a condition to show this section only when the user selects Gender as Male.

  • You can also input advanced conditions like IF, ELSE, OR, AND etc. that are supported in Excel. The syntax is exactly what you type in the Excel formula bar. Just in place of the Cell number use @ and call the variables of the app.

Here we putting a condition to make sure that this section appears only when the person is Male and >18 years of age.

Copyable section

You can use this feature to collect data from the end-users when the count of input can be variable. For example, you want to collect the details of the family members of the user filling the data.

  • Click on the section title that can have multiple copies
  • Enable the option “Allow Section to be copied during submission”
  • Provide the maximum number of copies that the user can input
  • Change the default text “Add another Section” to something self-explanatory for the user. For example, “Add another member”, “Add another item”, “+ member”, etc.
  • Save
Final app view

FAQs – Copyable section

Q: How do I sum up all the values entered by a user when the section is copyable?
A: Add a formula module in another section and use SIGMA({variable_name}) to calculate the sum.

Q: How do I use the values of the copyable section in the print template configuration.
A: You should use #1, #2, etc. after the variable name to call the values from the 1st section, 2nd section, and so on. For example, if the variable name is {family_member}, you should write {family_member#1} for the name of the first member and {family_member#2} for the name of the second member.