Calculates the form fingerprint for the form definition. The fingerprint of a form definition is a SHA-256 hash of the form that is stable as long as the structure of the form is not changed. Textual changes in the content of the form definition will not alter the fingerprint hash. But adding, removing or reordering elements does. The fingerpint is useful for quick validation when the runner pushes form results back to your application. Since the runner will include this fingerprint hash in the response data, you can use it to verify that the results coming in are generated by the right (version of the) form.
fingerprint(definition: IDefinition): string
|Specifies the form definition.
Returns the form fingerprint.
More information about the form fingerprint can be found in the Form fingerprint guide.