### Enumeration

# WebKit InputPurpose

since: 2.28

#### Declaration

    enum WebKit.InputPurpose

#### Description [src]

Enum values used to describe the primary purpose of the active editable element.

Available since: 2.28

#### Members

`WEBKIT_INPUT_PURPOSE_FREE_FORM`

  Editable element expects any characters.

  - Value: `0`
  - Nickname: `free-form`
  - Available since: 2.28
`WEBKIT_INPUT_PURPOSE_DIGITS`

  Editable element expects digits.

  - Value: `1`
  - Nickname: `digits`
  - Available since: 2.28
`WEBKIT_INPUT_PURPOSE_NUMBER`

  Editable element expects a number.

  - Value: `2`
  - Nickname: `number`
  - Available since: 2.28
`WEBKIT_INPUT_PURPOSE_PHONE`

  Editable element expects a telephone.

  - Value: `3`
  - Nickname: `phone`
  - Available since: 2.28
`WEBKIT_INPUT_PURPOSE_URL`

  Editable element expects a URL.

  - Value: `4`
  - Nickname: `url`
  - Available since: 2.28
`WEBKIT_INPUT_PURPOSE_EMAIL`

  Editable element expects an email.

  - Value: `5`
  - Nickname: `email`
  - Available since: 2.28
`WEBKIT_INPUT_PURPOSE_PASSWORD`

  Editable element expects a password.

  - Value: `6`
  - Nickname: `password`
  - Available since: 2.28