Print

SignField

This function will add signature of current user to specified field. Optionally, additional comment and section name can be specified. If section name was specified, signature becomes section signature, otherwise it is a full case signature.

Syntax

SignField("fieldName");
SignField("fieldName","comment");
SignField("fieldName","comment","sectionName");

Function arguments

  • fieldName – (String) The name of the field to which signature is to be added.
  • comment – (String) Additional comment to signature
  • sectionName – (String) The name of the section to be signed. If not used, signature becomes a full case signature, otherwise it is a section signature.

Return value

This function returns Boolean.
This function always returns true

Examples

Example 1:
This will add siganture of current user to 'field1′ case field.

SignField("field1");

Example 2:
This will add siganture of current user to 'field1′ case field along with specified comment.

SignField("field1", "some comment");

Example 3:
This will add siganture of current user to 'sectionX’ section of 'field1′ case field along with specified comment.

SignField("field1", "some comment","sectionX");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
How Can We Improve This Article?