Skip to content

Commit

Permalink
TinaCMS content update
Browse files Browse the repository at this point in the history
  • Loading branch information
tinacloud-dev[bot] authored Feb 4, 2025
1 parent f35ac49 commit 3a5873b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions content/docs/extending-tina/before-submit.mdx
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
---
id: /docs/extending-tina/before-submit
title: Before Submit Function
last_edited: '2025-02-01T18:58:57.233Z'
last_edited: '2025-02-04T02:07:06.421Z'
next: ''
previous: content/docs/extending-tina/filename-customization.mdx
_tinaEmbeds:
xurpza: |-
{
"foo": "ba2"
}
---

The before submit function allows you to run a function on the frontend before the form is submitted to the backend and optionally modify the values of a document.

<recipeBlock
title="Test Code"
description="tesst"
code="{
&#x22;foo&#x22;: &#x22;ba2&#x22;
}"
/>
<recipeBlock title="Test Code" description="tesst" code="_tinaEmbeds.xurpza" />

## Definition

Expand Down

0 comments on commit 3a5873b

Please sign in to comment.