Przejdź do głównej zawartości

SetTemplate

This function will set template for chosen field.

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

This function returns Boolean. This function always returns true.

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

SetTemplate("UploadField", "template.docx");