---
title: Creating alternative editing forms for custom tables
related:
  - https://docs.kentico.com/13/custom-development/extending-the-administration-interface/creating-alternative-forms.md
  - https://docs.kentico.com/13/developing-websites/defining-website-content-structure/managing-page-types/creating-alternative-forms-for-page-types.md
  - https://docs.kentico.com/13/custom-development/extending-the-administration-interface/creating-alternative-forms/code-names-of-automatically-used-alternative-forms.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Alternative forms allow you to create additional representations of existing forms, which you can then use in different situations. You can find more information in [Creating alternative forms](https://docs.kentico.com/13/custom-development/extending-the-administration-interface/creating-alternative-forms.md). In [Code names of automatically used alternative forms](https://docs.kentico.com/13/custom-development/extending-the-administration-interface/creating-alternative-forms/code-names-of-automatically-used-alternative-forms.md), you can learn about special code names of alternative forms. If you create an alternative form with one of these names, it will be used automatically in the corresponding situation.

The following example demonstrates how to add an alternative form for the sample **People** custom table (created according to the instructions in [Creating custom tables](https://docs.kentico.com/13/developing-websites/defining-website-content-structure/managing-custom-tables/creating-custom-tables.md)). You can repeat the same process for any other custom table. The example prepares a simplified alternative form that allows users to create records in the _People_ custom table without a date of birth value.

## Adding the alternative form

To create a new alternative form for the _People_ custom table:

1. Open the **Custom tables** application.
2. Edit () the **People** custom table.
3. Switch to the **Alternative forms** tab.
4. Click **Create new form**.
5. Type a **Display name** for the form.
6. Type _insert_ as the **Code name**. This special code name ensures that the administration interface automatically uses the simplified form when creating new records in the custom table.

   ![Creating an alternative form for a custom table](https://docs.kentico.com/docsassets/13/creating-alternative-editing-forms-for-custom-tables/creating_custom_table_alternative_form.png "Creating an alternative form for a custom table")
7. Click **Save**.

The system creates a new alternative form for the custom table.

## Configuring the alternative form fields

After you create an alternative form, you can change its fields using the [field editor](https://docs.kentico.com/13/custom-development/extending-the-administration-interface/developing-form-controls/reference-field-editor.md).

1. Switch to the **Fields** tab.
2. Select the **DateOfBirth** field.
3. Disable the **Display field in the editing form** option.

   > **Tip:** Instead of hiding the field, you can experiment with different settings of the field. Try changing the _Form control_ type or the _Field caption_, or try changing the _Editing control settings_. This way, you can configure the alternative form as you wish.

   ![Disabling a field in an alternative form](https://docs.kentico.com/docsassets/13/creating-alternative-editing-forms-for-custom-tables/disabling_field_in_editing_form.png "Disabling a field in an alternative form")
4. Click **Save**.

You have configured the fields of the alternative form.

## Using the modified form

Because you set the alternative form's code name to _insert_, it is automatically used in the system's administration interface when creating new records for the _People_ custom table.

1. Open the **Custom table data** application and edit the _People_ table.
   - You can also select the **Data** tab when editing the _People_ table in the **Custom tables** application.
2. Click **New item**.

You can see your modified alternative form when submitting a new record into the custom table (without the _DateOfBirth_ field). If you edit an existing record, the original form with all fields is displayed (this editing form could be replaced by an alternative form with the _update_ code name).
