In a data entry application, it is possible to prefill fields using several approaches:
- Make an ID field persistent, which uses the value entered for a previous case to prefill the value for a new case. The initial values of persistent fields can be specified in a PFF.
- Make an ID field auto increment, which takes the value entered for a previous case and increments it by one to prefill the value for a new case. If no previous case has been entered, the value starts at 1.
- Use the Key attribute of a PFF to specify the initial value of the case's ID items.
- Use the Parameters section of a PFF to specify the initial values for non-repeating, non-persistent items.
- Make a repeating field sequential, which automatically increments a field on a roster, incrementing it by one on each added occurrence.
- Specify a value in the preproc of the field; for example: