APPLICATION DESIGN


Fields for version tracking
Adding a $VersionOpt field to a form allows users to create new versions of edited documents on a document-by-document basis.

To create a computed $VersionOpt field

Use a computed text field if you want each document created from a form to have the same version control option.

1. Create a field named $VersionOpt and define it as a computed text field.


2. Select Value on the Objects tab of the Info List in the Programmer's pane.

3. In the Script area enter one of the following values:
ValueType of tracking
0No version tracking
1New versions become responses if users choose File - Save As New Version when they save a document
2New versions automatically become responses when saved
3Prior versions become responses if users choose File - Save As New Version when they save a document
4Prior versions become responses when saved
5New versions become siblings if users choose File - Save As New Version when they save a document
6New versions automatically become siblings when saved

To create a choice list $VersionOpt field

Use a choice list field if you want users to be able to choose the method of version control each time they create a document.

1. Create a field named $VersionOpt and define it as an editable dialog list field.


2. On the Control tab select "Enter choices (one per line)."

3. Enter one or more of the following options:

See Also