Open History to see the last commit
1---
2id: FormGroupValidationPredicateContext
3title: FormGroupValidationPredicateContext
4---
5β
6Defined in: [validation.public.ts:430](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L430)
7β
8Current form group state available to validator conditions and delay callbacks.
9β
10## Extends
11β
12- `BaseValidationPredicateContext`\<`any`, `TGroupValue`, `"group"`\>
13β
14## Type Parameters
15β
16### TGroupValue
17β
18`TGroupValue`
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<any, 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
66groupApi: FormGroupApi<any, any, TGroupValue, any, any>;
67```
68β
69Defined in: [validation.public.ts:434](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L434)
70β
71The form group whose value is being validated.
72β
73***
74β
75### scope
76β
77```ts
78scope: "group";
79```
80β
81Defined in: [validation.public.ts:400](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L400)
82β
83Identifies whether `value` belongs to a form, form group, or field.
84β
85#### Inherited from
86β
87```ts
88BaseValidationPredicateContext.scope
89```
90β
91***
92β
93### value
94β
95```ts
96value: TGroupValue;
97```
98β
99Defined in: [validation.public.ts:411](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L411)
100β
101The current value in this validator's scope when the callback is evaluated.
102β
103#### Inherited from
104β
105```ts
106BaseValidationPredicateContext.value
107```