HybridForms API
    Preparing search index...

    Class FieldsAbstract

    Static properties and methods related to manipulating fields.

    Index

    Constructors

    Methods

    • Delete a field value.

      Parameters

      • id: string

        id of the field to delete

      Returns boolean

    • Get field by its id

      Parameters

      • id: string

        id of the field

      Returns IFormField

    • Get a field from its index

      Parameters

      • index: number

        index of a field

      Returns IFormField

    • get the index of a field

      Parameters

      • id: string

        id of the field

      Returns number

    • Logs field-ids and values in the console. If a searchString is provided only fields that matches a certain string gets logged

      Parameters

      • searchString: string

        string, a string to match with a field-id (indexOf)

      Returns void

    • Always remove previously registered event listener

      Parameters

      Returns void

    • Set field value

      Parameters

      • id: string

        id of the field

      • val: any

        value to set

      Returns any