Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

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

  • 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 {svchostencode=false}?name={svcps} and it will not get mangled by encoding.  

Repeat Controls

The template syntax is extended for controls inside repeats. The name of the repeating control must be proceeded with the '|' character. For example if you have a control name Phone inside a repeat, the template must be written as {|Phone}. The result of this template is to output the list of all phone numbers items entered into the form.

...