# Interface CustomFormFieldConfig

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

#### Hierarchy (view full)

- FormFieldConfig
  - CustomFormFieldConfig

- Defined in 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 src/lib/types/types.ts:60

### fieldId

fieldId: string

Inherited from FormFieldConfig.fieldId

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

### fieldType

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

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

### `Optional` hidden

hidden?: boolean

Inherited from FormFieldConfig.hidden

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

### `Optional` options

options?: string[]

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

### `Optional` requireIfOptional

requireIfOptional?: boolean

Inherited from FormFieldConfig.requireIfOptional

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

### `Optional` required

required?: boolean

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

### `Optional` showPlaceholderAndHideLabel

showPlaceholderAndHideLabel?: boolean

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

### validate

validate: ((value) => string)

#### Type declaration

- - (value): string

  - #### Parameters

    - value: string | boolean

    #### Returns string

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