現在の文書が新しい文書かどうかを確認します。
// Formula for computing label_1 var title = ""; if(@IsNewDoc() == 1) title = "New document"; else title = @GetTextField("//field1"); title;