Example Helpers

Example: Percentage Calculation Helper and Parameter
Calculate 5% of a months rent  For this example, we are using the Tenancy Datasource. And we want the resulting output on the template to produce 5%...
Wed, 11 May, 2016 at 6:42 PM
Example: Date Format Helper
Example Date Format Helpers For this example we are using dates from two different data sources, viewing and tenancy data sources. Example...
Fri, 13 May, 2016 at 12:48 PM
Example: Create a QR code from a URL
Create a QR Code  Create a QR code from a proposal website link.  Helper - Start {{#qrcode}} End {{/qrcode}} This needs to be wrapped around...
Fri, 13 May, 2016 at 12:37 PM
Example: Embed a Google Map Link
Format the postcode for the URL   In this example, we have to alter the way the postcode is formatted to work for a google maps link.  Helper - ...
Fri, 13 May, 2016 at 12:19 PM
Example: Total two separate money fields
Total Rent and Deposit   For this example, we are going to total rent and deposit. Totalling Rent + Deposit and displaying as £ format ...
Fri, 13 May, 2016 at 12:03 PM
Example: Capitalise first letter and lowercase remaining
Capitalise first letter and lowercase remaining   Helper - capitalizeFirst This helper formats the first word to a Capital   Helper - lowerc...
Fri, 13 May, 2016 at 12:07 PM
Example: Truncate a Paragraph
Shorten a long paragraph    Helper - truncate  This helper reduces the amount of text, to a fixed number. Parameter This is...
Fri, 13 May, 2016 at 12:11 PM
Example: Using @Root to source within list data from outside a list
Example: Agency URL in Proposal List  In this example, we want to display the Agency URL, that is a field outside the proposal list group of fields....
Fri, 13 May, 2016 at 12:27 PM
Example: Remove excess white space
Excess White Space Template whitespace may be omitted from either side of any mustache statement by adding a `~` character by the braces. When app...
Fri, 13 May, 2016 at 12:30 PM
Example: List by category and order list within
Example: Sales Offer Datasource {{#each saleOffer.events as |items|}} {{this.0.categoryTitle}} stages completed: {{#each this}} * {{da...
Fri, 13 May, 2016 at 12:31 PM