Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use ID Generator Field to create a running number in your form design.使用  ID生成器字段  在表单设计中创建一个运行数字。


Figure 1: ID Generator Field Properties

You can specify the name of an existing environment variable to be used as the number to be incremented everytime a new form is created. If the environment variable that you specify does not exist, Joget will automatically create a new one for you. You may check the current value of the counter you specified in your app's properties tab.

Image Removed
Figure 2: Environment Variables

图1:ID生成器字段属性

您可以指定一个现有环境变量的名称,作为每次创建新表单时要增加的数字。如果你指定的环境变量不存在,Joget会自动为你创建一个新的。您可以检查您在应用程序属性选项卡中指定的计数器的当前值。

Image Added
图2:环境变量

每次提交表单时,元素都会从您指定的环境变量中生成下一个运行的编号,并将其放入该字段的值中。您也可以将该值写入工作流程变量。Every time the form is submitted, the element will generate the next running number from the environment variable you specified and will place it into the field's value. You may also write the value into a workflow variable.