Versions Compared

Key

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

...

Before ending a hash variable with a hash "#", add a question mark character "?" followed by the required format. You may include multiple by defining semicolon ";" separated values.

  1. regex - Used to escape regular expression special characters
  2. json

...

  1. - Used to escape JSON special characters
  2. javascript - Used to escape Javascript special characters
  3. html - Used to escape HTML special characters
  4. xml - Used to escape XML special characters
  5. java - Used to escape Java special characters
  6. sql - Used to escape SQL special characters
  7. url - Used to escape URL special characters
  8. nl2br - Used to convert new line character to <br> HTML tag
  9. separator(SEPARATOR_CHARS) - Used to change the default separator ";" to the SEPARATOR_CHARS. eg. ?separator(, ) resulted "abc, def" instead of "abc;def".

...

Code Block
titleExample
#envVariable.script?java#

...

NameDescription
Prefixbinder
Description

To get field value or field value label from the binder of a form via its form definition id .

The 'binder' prefix retrieves the field value, while the 'binder.options' prefix retrieves the lookup field (eg. select box, checkbox & radio button) option label.

The field value or field value label can also be obtained from other apps by including the APP_ID, else it uses the current app context.

By providing the PRIMARY_KEY argument, field value or field value label from a different record can be retrieved, else data from the current record id is retrieved instead.

Attributes
  • binder.APP_ID.FORM_DEF_ID.FIELD_ID
  • binder.APP_ID.FORM_DEF_ID.FIELD_ID[PRIMARY_KEY]
  • binder.FORM_DEF_ID.FIELD_ID
  • binder.FORM_DEF_ID.FIELD_ID[PRIMARY_KEY]
  • binder.options.APP_ID.FORM_DEF_ID.FIELD_ID
  • binder.options.APP_ID.FORM_DEF_ID.FIELD_ID[PRIMARY_KEY]
  • binder.options.FORM_DEF_ID.FIELD_ID
  • binder.options.FORM_DEF_ID.FIELD_ID[PRIMARY_KEY]
Scope of Use
  • In a Process Tool part of a Process.
  • In a Form.
  • In a process design.
Sample Attributes 

...