Open History to see the last commit
1---
2id: revalidateLogic
3title: revalidateLogic
4---
5β
6# Function: revalidateLogic()
7β
8```ts
9function revalidateLogic(__namedParameters): ValidationLogicFn;
10```
11β
12Defined in: [packages/form-core/src/ValidationLogic.ts:68](https://github.com/TanStack/form/blob/main/packages/form-core/src/ValidationLogic.ts#L68)
13β
14This forces a form's validation logic to be ran as if it were a React Hook Form validation logic.
15β
16This means that it will only run the `onDynamic` validator, and it will not run any other validators and changes the validation
17type based on the state of the form itself.
18β
19When the form is not yet submitted, it will not run the validation logic.
20When the form is submitted, it will run the validation logic on `change`
21β
22## Parameters
23β
24### \_\_namedParameters
25β
26`RevalidateLogicProps` = `{}`
27β
28## Returns
29β
30[`ValidationLogicFn`](../type-aliases/ValidationLogicFn.md)