ComPDFKit Web SDK
    Preparing search index...

    Class ResetForm

    Reset-form action: resets all form fields, the listed fields, or all fields except the listed ones.

    Hierarchy

    • Action
      • ResetForm
    Index
    • get exclude(): boolean

      Whether fields lists fields to keep rather than fields to reset.

      Returns boolean

    • get fields(): string[] | null

      Names of the fields to reset (fields to keep when exclude is set); null when not given.

      Returns string[] | null

    • Creates a reset-form action.

      Parameters

      • Optionalinit: { exclude?: boolean; fields?: string | string[] }

        Optional initial values.

        • Optionalexclude?: boolean

          When true, the listed fields are kept and all other fields are reset.

        • Optionalfields?: string | string[]

          A field name or list of field names; omit to reset every field.

      Returns ResetForm

    elementName: string

    Action type name, always 'ResetForm'.