# Interface CustomFormFieldConfig

interface CustomFormFieldConfig {
disabled?: boolean;
fieldId: string;
fieldType: "text" | "checkbox" | "date" | "radio" | "select" | "dateYm";
hidden?: boolean;
options?: string[];
requireIfOptional?: boolean;
required?: boolean;
showPlaceholderAndHideLabel?: boolean;
validate: ((value) => string);
}

#### Hierarchy (view full)

- FormFieldConfig
  - CustomFormFieldConfig

- Defined in jslib/src/lib/types/types.ts:65

#####
Index

### Properties

disabled?
fieldId
fieldType
hidden?
options?
requireIfOptional?
required?
showPlaceholderAndHideLabel?
validate

## Properties

### `Optional` disabled

disabled?: boolean

Inherited from FormFieldConfig.disabled

- Defined in jslib/src/lib/types/types.ts:60

### fieldId

fieldId: string

Inherited from FormFieldConfig.fieldId

- Defined in jslib/src/lib/types/types.ts:59

### fieldType

fieldType: "text" | "checkbox" | "date" | "radio" | "select" | "dateYm"

- Defined in jslib/src/lib/types/types.ts:66

### `Optional` hidden

hidden?: boolean

Inherited from FormFieldConfig.hidden

- Defined in jslib/src/lib/types/types.ts:62

### `Optional` options

options?: string[]

- Defined in jslib/src/lib/types/types.ts:70

### `Optional` requireIfOptional

requireIfOptional?: boolean

Inherited from FormFieldConfig.requireIfOptional

- Defined in jslib/src/lib/types/types.ts:61

### `Optional` required

required?: boolean

- Defined in jslib/src/lib/types/types.ts:69

### `Optional` showPlaceholderAndHideLabel

showPlaceholderAndHideLabel?: boolean

- Defined in jslib/src/lib/types/types.ts:68

### validate

validate: ((value) => string)

#### Type declaration

- - (value): string

  - #### Parameters

    - value: string | boolean

    #### Returns string

- Defined in jslib/src/lib/types/types.ts:67