Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Section
Column
width0px
Templates are like variables in your form that will be replaced with the actual values users enter into the form during use. Templates make your form feel more interactive and are useful in summarizing information in collapsed section controls. Templates can be used in the form designer in the following control properties:
  • Labels
  • Hints
  • Help
  • Error Msg

Templates can also be used in:

  • Business Rules
  • Form Actions
  • Doc Actions
  • Display Messages
  • Email Action
  • Form Url Parameters _data

Refer to the following chapters for related information:

Column
width240px

On this page:

Table of Contents
maxLevel13

Templatized String Syntax

...

As a user begins entering values into the form fields, the templates will immediately begin appearing, and the user will see:

Templatized String Parameters

Templates support parameters. The syntax is {<control name>=<default value>!<parameter>}. The supported parameters areparameter is:

  • encode={true/false} – If encode is false the template is not encoded after resolving it. The default is true 

The encode template parameter is very useful when the template value is a URL. For example, if the template is {svchost}?name={svcps} and svchost has the value http://localhost:8080/, it will get mangled by encoding. Instead use {svchostencodesvchost!encode=false}?name={svcps} and it will not get mangled by encoding.  

...