From d04d6fc76be54144f46af357d8b3a313bba42938 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 3 Jun 2003 13:38:20 +0000 Subject: [PATCH] Added note about automatically incremented attributes SVN revision: 545 --- doc/config.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/config.html b/doc/config.html index ac60a52a..e78921b3 100755 --- a/doc/config.html +++ b/doc/config.html @@ -645,7 +645,22 @@ Preset Author = $long_name If the attribute should be locked at the Web submission, use the "Locked Attributes = ..." option. If a preset value is given for an attribute which has an options list, the preset value is selected in the drop -down box by default. +down box by default.

+ +A special option are automatically generated tags, which are automatically incremented +for each new message. This is achieved by putting a "%" into the preset string, which +is used as a printf format specifier. A statement like +

+

+Preset Number = XYZ-%05d
+
+results in automatically created attributes "Number" of the form

+

+XYZ-00001
+XYZ-00002
+XYZ-00003
+
+and so on.

  • Preset text = <string> or <file>