If you require your applicants to complete a budget within your site this can be achieved internally within your form. Alternatively, if you wish for a budget to be uploaded to the application, you can consider uploading a template to the Files section and have them upload it to an Attach File task.
NOTE: The calculations provided in this article are examples that can be referenced for formatting purposes. Your calculations will vary based on your own configurations. For more information on setting up calculations, you can refer to Advanced Expression Piping: Overview
The most common question types for creating budgets are either Single Column or Multi-Column Questions, using the Text Response variable to allow users to enter their totals. When building out a budget there are often two different sections for the user to complete: Revenue/Income and Expenses. In some cases, you may only request the expenses of the applicants.
For this example, we will walk through requesting information about someone's Income and Living Expenses.
NOTE: For Step 3, commas and spaces will not be accepted in a calculation and will cause an error if the user enters them in their response.
Here are two possible examples of a question setup, however, you can customize your question as you need to. These examples will be referenced throughout the article:
Setup A: Multi-Column
Setup B: Single Column
Though there are multiple columns in the question, for this example, we only want to calculate the second column into our subtotal.
When we're done, our questions will look like:
Since we only have the one column we don't need to reference the column as we do for Multi-Column. Therefore, our final setup will appear as:
First, we can find the total amount of the expenses incurred (Rent + Loans + Auto). Now that we have added all of our questions and calculated all of our Sub Totals, we want to calculate everything together to determine what the grand total or difference is.
This calculation will appear as such, depending on the question type:
Setup A: Multi Columns | Setup B: Single Columns |
{{ SUM(rent[:1],loans[:1],auto[:1]) }} | {{ SUM(rent,loans,auto) }} |
If you are then looking to find the difference between your Income and Expenses, the calculation may be:
{{ (SUM(income[:1])) - (SUM(rent,loans,auto)) }} |
NOTE: When performing the above calculations, be aware of our In-Form Piping restrictions which prevent you from performing calculations on a piped value on the same page. For more information, you can refer to our help section on Same Page vs. Next Page Piping
As time passes, budgets can change. If you need to ask your applicants to update their budget after initially submitting their application, this can best be done using Reusable Applicant Tasks.
If you set up your Budget as a Reusable Applicant task you can have a different instance of the same form in a later stage or even in a different program. You can also have the responses auto-populated in the second version of the form to allow the applicant to see their original responses and update them as necessary.