SetTemplate

This function will set template for chosen field.

Syntax

SetTemplate("fieldName", "templateName");

Function arguments

  • fieldName – (String) The name of the field .
  • templateName – (String) The name of the template, that you want to add to field .

Return value

This function returns Boolean.
This function always returns true.

Examples

Example 1:
This will add template 'template.docx’ to field 'UploadField’

SetTemplate("UploadField", "template.docx");
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.