---
title: "Prevent a Field From Saving in the Database - Convert Forms"
description: "Convert Forms does not support preventing a specific field from saving in the database. However, you can remove the field value from the database afte"
url: "https://www.tassos.gr/docs/convert-forms/security/prevent-a-from-saving-in-database"
date: "2026-04-06T21:56:24+00:00"
language: "en-GB"
---

[ Home ](https://www.tassos.gr/index.php?option=com_content&view=category&layout=blog&id=24&Itemid=1088) / [ Convert Forms ](https://www.tassos.gr/index.php?option=com_content&view=category&id=43) / [ Spam, Security &amp; Compliance ](https://www.tassos.gr/index.php?option=com_content&view=category&id=78)

#  Prevent a Field From Saving in the Database

Convert Forms does not support preventing a specific field from saving in the database. However, you can remove the field value from the database after the submission.

## [Setup](#setup)

To remove a field value from the database, place the following code into the [PHP Scripts -&gt; After Form Submission](https://www.tassos.gr/joomla-extensions/convert-forms/docs/php-scripts#form_process) option in the form builder.

 ```
\ConvertForms\Api::updateSubmissionField($submission->id, 'FIELD_NAME_HERE');
```

Replace **FIELD\_NAME\_HERE** with the name of the field you would like to remove from the database

 Last updated on Aug 29th 2025 09:08

## Schema

```json
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://www.tassos.gr"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Home",
            "item": "https://www.tassos.gr/docs"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Convert Forms",
            "item": "https://www.tassos.gr/docs/convert-forms"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Spam, Security & Compliance",
            "item": "https://www.tassos.gr/docs/convert-forms/security"
        },
        {
            "@type": "ListItem",
            "position": 5,
            "name": "Prevent a Field From Saving in the Database",
            "item": "https://www.tassos.gr/docs/convert-forms/security/prevent-a-from-saving-in-database"
        }
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@type": "Article",
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://www.tassos.gr/docs/convert-forms/security/prevent-a-from-saving-in-database"
    },
    "headline": "Prevent a Field From Saving in the Database",
    "image": {
        "@type": "ImageObject",
        "url": "https://www.tassos.gr/"
    },
    "publisher": {
        "@type": "Organization",
        "name": "Tassos",
        "logo": {
            "@type": "ImageObject",
            "url": "https://www.tassos.gr/https://www.tassos.gr/media/brand/logo-text.png"
        }
    },
    "author": {
        "@type": "Person",
        "name": "Tassos Marinos",
        "url": "https://www.tassos.gr/docs/convert-forms/security/prevent-a-from-saving-in-database"
    },
    "datePublished": "2023-11-29T19:14:15+02:00",
    "dateCreated": "2023-11-29T19:14:15+02:00",
    "dateModified": "2025-08-29T09:49:44+03:00"
}
```
