Function isValidatableFormElement

  • Check if element is a form element

    Also see isValidatableHTMLElement for a similar function but including HTMLFieldSetElement.

    Parameters

    • element: Element

      Element to test

    Returns element is HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement