TreeINFO-For-M365 documentation
    Preparing search index...

    Module Form/CustomScript/Form

    Allows working with a form and child objects. See the Form class for managing the form. See the Field class for managing form fields. See the Group class for managing form groups.

    // base access to form
    const { form } = tisa;

    // checking if the form is in edit mode
    if (form.isEditForm) {
    // your code...
    }

    // getting a field value
    const { myField } = form.field;
    console.log(myField.value);

    // setting a field value
    myField.value = "My Value";
    console.log(myField.value);

    Classes

    Form

    Interfaces

    TypeDocHidden_IFormService