Open History to see the last commit
1---
2id: FormValidationPredicateContext
3title: FormValidationPredicateContext
4---
5β
6Defined in: [validation.public.ts:419](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L419)
7β
8Current form state available to validator conditions and delay callbacks.
9β
10## Extends
11β
12- `BaseValidationPredicateContext`\<`TFormData`, `TFormData`, `"form"`\>
13β
14## Type Parameters
15β
16### TFormData
17β
18`TFormData`
19β
20Library-managed. Do not specify explicitly.
21β
22## Properties
23β
24### fieldApi?
25β
26```ts
27optional fieldApi?: AnyFieldApi;
28```
29β
30Defined in: [validation.public.ts:409](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L409)
31β
32The field associated with the validation event, when available.
33β
34For form and group validators, this is the field that triggered the
35validation. For field validators, this is the field being validated.
36β
37#### Inherited from
38β
39```ts
40BaseValidationPredicateContext.fieldApi
41```
42β
43***
44β
45### formApi
46β
47```ts
48formApi: FormApi<TFormData, any>;
49```
50β
51Defined in: [validation.public.ts:402](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L402)
52β
53The owning form, including its complete values and state.
54β
55#### Inherited from
56β
57```ts
58BaseValidationPredicateContext.formApi
59```
60β
61***
62β
63### groupApi?
64β
65```ts
66optional groupApi?: undefined;
67```
68β
69Defined in: [validation.public.ts:422](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L422)
70β
71***
72β
73### scope
74β
75```ts
76scope: "form";
77```
78β
79Defined in: [validation.public.ts:400](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L400)
80β
81Identifies whether `value` belongs to a form, form group, or field.
82β
83#### Inherited from
84β
85```ts
86BaseValidationPredicateContext.scope
87```
88β
89***
90β
91### value
92β
93```ts
94value: TFormData;
95```
96β
97Defined in: [validation.public.ts:411](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L411)
98β
99The current value in this validator's scope when the callback is evaluated.
100β
101#### Inherited from
102β
103```ts
104BaseValidationPredicateContext.value
105```