Computed subform

Attribute(s)

  • Validation

    Description

    Use a computed subform in order to validate the data of a document on BOTH the Web and in Notes.

    Motivation

    By inserting a computed subform to validate data, you can use one form for both the Web and Notes.

    Example / Details

    The following code should be used in the computed subform:


    @If(@IsMember('WebClient'; @UserRoles); 'NameOfTheValidationFormForTheWeb';
    'NameOfTheValidationFormForNotes')

    On the subform for the Web, you insert the validation-field and the
    $$Return-field.


    On the subform for Notes you insert a normal Notes validation formula.