Section API

interface ISectionApi {
    formId: string;
    getTypeAttribute: TGetTypeAttribute<"required" | "type" | "requireConfirmation" | "shouldForceSkipValidation" | "usePageBreak">;
    id: string;
    setTypeAttribute: TSetTypeAttribute<"required" | "type" | "requireConfirmation" | "shouldForceSkipValidation" | "usePageBreak", any>;
    getField(fieldId): TFieldApiUnion;
    getFieldBy(predicate): TFieldApiUnion;
    getFieldByInternalLabel(internalLabel): TFieldApiUnion;
    getFields(predicate?): IFieldApi[];
    getGeneralAttribute(key): any;
    goTo(): void;
    setGeneralAttribute(key, value): void;
    setVisibility(visible): void;
}

Hierarchy (view full)

Properties

formId: string
getTypeAttribute: TGetTypeAttribute<"required" | "type" | "requireConfirmation" | "shouldForceSkipValidation" | "usePageBreak">
id: string
setTypeAttribute: TSetTypeAttribute<"required" | "type" | "requireConfirmation" | "shouldForceSkipValidation" | "usePageBreak", any>

Methods