# Type Alias FormCfg

type FormCfg = {
__?: any;
action?: string;
additionalButtons?: AdditionalButton[];
additionalHeaders?: Header[];
blurb?: string | string[];
class?: string;
collapsedSummary?: string;
errors?: any;
fields: (Field | FieldRepeat | FieldLike)[];
formStyle?: string;
id?: string;
isOwner?: boolean;
isWorkflow?: boolean;
labelCols?: number;
layout?: Layout;
methodGET?: boolean;
noSubmitButton?: boolean;
onChange?: string;
onSubmit?: string;
pk_name?: string;
req?: any;
splitPaste?: boolean;
submitButtonClass?: string;
submitLabel?: string;
tabs?: any;
validate?: any;
validator?: (arg0: any) => any;
values?: any;
viewname?: string;
xhrSubmit?: boolean;
}

- Defined in packages/saltcorn-data/models/form.ts:286

##### Index

### Properties

__?
action?
additionalButtons?
additionalHeaders?
blurb?
class?
collapsedSummary?
errors?
fields
formStyle?
id?
isOwner?
isWorkflow?
labelCols?
layout?
methodGET?
noSubmitButton?
onChange?
onSubmit?
pk_name?
req?
splitPaste?
submitButtonClass?
submitLabel?
tabs?
validate?
validator?
values?
viewname?
xhrSubmit?

## Properties

### `Optional`__

__?: any

- Defined in packages/saltcorn-data/models/form.ts:316

### `Optional` action

action?: string

- Defined in packages/saltcorn-data/models/form.ts:290

### `Optional` additionalButtons

additionalButtons?: AdditionalButton[]

- Defined in packages/saltcorn-data/models/form.ts:303

### `Optional` additionalHeaders

additionalHeaders?: Header[]

- Defined in packages/saltcorn-data/models/form.ts:304

### `Optional` blurb

blurb?: string | string[]

- Defined in packages/saltcorn-data/models/form.ts:299

### `Optional` class

class?: string

- Defined in packages/saltcorn-data/models/form.ts:297

### `Optional` collapsedSummary

collapsedSummary?: string

- Defined in packages/saltcorn-data/models/form.ts:295

### `Optional` errors

errors?: any

- Defined in packages/saltcorn-data/models/form.ts:288

### fields

fields: (Field | FieldRepeat | FieldLike)[]

- Defined in packages/saltcorn-data/models/form.ts:287

### `Optional` formStyle

formStyle?: string

- Defined in packages/saltcorn-data/models/form.ts:296

### `Optional` id

id?: string

- Defined in packages/saltcorn-data/models/form.ts:293

### `Optional` isOwner

isOwner?: boolean

- Defined in packages/saltcorn-data/models/form.ts:309

### `Optional` isWorkflow

isWorkflow?: boolean

- Defined in packages/saltcorn-data/models/form.ts:314

### `Optional` labelCols

labelCols?: number

- Defined in packages/saltcorn-data/models/form.ts:294

### `Optional` layout

layout?: Layout

- Defined in packages/saltcorn-data/models/form.ts:292

### `Optional` methodGET

methodGET?: boolean

- Defined in packages/saltcorn-data/models/form.ts:298

### `Optional` noSubmitButton

noSubmitButton?: boolean

- Defined in packages/saltcorn-data/models/form.ts:302

### `Optional` onChange

onChange?: string

- Defined in packages/saltcorn-data/models/form.ts:305

### `Optional` onSubmit

onSubmit?: string

- Defined in packages/saltcorn-data/models/form.ts:310

### `Optional` pk_name

pk_name?: string

- Defined in packages/saltcorn-data/models/form.ts:315

### `Optional` req

req?: any

- Defined in packages/saltcorn-data/models/form.ts:311

### `Optional` splitPaste

splitPaste?: boolean

- Defined in packages/saltcorn-data/models/form.ts:308

### `Optional` submitButtonClass

submitButtonClass?: string

- Defined in packages/saltcorn-data/models/form.ts:301

### `Optional` submitLabel

submitLabel?: string

- Defined in packages/saltcorn-data/models/form.ts:300

### `Optional` tabs

tabs?: any

- Defined in packages/saltcorn-data/models/form.ts:312

### `Optional` validate

validate?: any

- Defined in packages/saltcorn-data/models/form.ts:313

### `Optional` validator

validator?: (arg0: any) => any

- Defined in packages/saltcorn-data/models/form.ts:306

### `Optional` values

values?: any

- Defined in packages/saltcorn-data/models/form.ts:289

### `Optional` viewname

viewname?: string

- Defined in packages/saltcorn-data/models/form.ts:291

### `Optional` xhrSubmit

xhrSubmit?: boolean

- Defined in packages/saltcorn-data/models/form.ts:307