Expression Formula - HTML

  • Updated

BigChange allows for the usage of HTML within Expression Formula. This is possible for templates created in the on editor or Microsoft Word.

For tutorial on using Expression Formula within BigChange Templates please see the below Advanced Knowledge Requirements.


This is an Expert guide requires an understanding of managing templates, keywords, and formula types. Please ensure you are familiar with the below guides.

 

Advanced Knowledge Requirements

Templates - Formula Types

Introduction to HTML

What is HTML?

HTML, or HyperText Markup Language, is a tool used to build web pages. Think of it as a set of instructions that tells your web browser how to display things like text, pictures, and links on a website.

Imagine you're building a house. You need a blueprint to show where everything goes, like the walls, doors, and windows. HTML is like the blueprint for a webpage. It tells the web browser (the program you use to look at websites, like Chrome, Firefox, or Safari) how to display the content on the page.

 


What are HTML Elements?

HTML elements are the building blocks of a webpage. They are used to define the how, what and where content of a webpage is displayed. Each element is made up of a start tag, content, and an end tag. 

 

HTML Elements Explained

  • Example 1: <h1>Heading 1</h1> is an HTML element for a heading.
    • Start Tag: <h1>
    • Content: 'Heading 1'
    • End Tag: </h1>
  • Example 2: <p>This is a paragraph.</p> is an HTML element for a paragraph.
    • Start Tag: <p>
    • Content: 'This is a paragraph.'
    • End Tag: </p>

 


Using HTML Within Expression Formula

How do I use HTML within Expression Formula

  1. Select Insert Keyword from within OnEditor or Word Add-In
  2. Navigate to Miscellaneous Tab and Select 'Formula'
  3. Choose the Formula Type
    • Select "Expression" as your formula type from the list of available options.
  4. Enter HTML Code and Enclose it with Quotation Marks
    • All HTML Code must be surrounded with Quotation Marks. You may surround each individual element, or a group of elements.
    • Example: '<p>This is a paragraph</p>'
  5. Select Save to confirm your Formula

Where can I use HTML with Expression Formula?

HTML can be employed either as a standalone within an Expression Formula or within Expression Formula functions.

Standalone HTML within Expression Formula

Input paragraph element within Expression Formula.

Output of the above Expression Formula within a JobCard PDF:

 

HTML within Expression Formula Functions

Input IIF Function, HTML Element Paragraph used within value-if-true and value-if-false sections.

Output of the above Expression Formula within a JobCard PDF:

 

Using Multiple HTML Elements within Expression Formula

You may use multiple HTML Elements within Expression Formula. However, if they are used within functions you must ensure that function's structure is used.

Multiple Uses of Standalone HTML within Expression Formula

Input Formula Expression:

Output of the above Expression Formula within a JobCard PDF:

 

Multiple Uses of HTML within Expression Formula Functions

Input Formula Expression:

Output of the above Expression Formula within a JobCard PDF:

 

Conclusion

Understanding how to use HTML within BigChange's Expression Formula enhances the flexibility and functionality of your templates. By following the steps outlined, you can effectively incorporate HTML elements to customise your JobCard PDFs. For further assistance, refer to the core knowledge requirements and advanced guides provided by BigChange.

 

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.