# Setting a default value to an entry component

**URL:** https://community.glideapps.com/t/setting-a-default-value-to-an-entry-component/82406
**Category:** Ask for Help
**Created:** [June 11, 2025, 4:13pm UTC](https://community.glideapps.com/t/setting-a-default-value-to-an-entry-component/82406 "2025-06-11T16:13:26Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 12, 2025, 12:00am UTC](https://community.glideapps.com/t/setting-a-default-value-to-an-entry-component/82406/4 "2025-06-12T00:00:55Z")

</div>

An AI component is the closest thing here.

Firstly, I would suggest a custom form.

> [@How do I create a custom form?](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014):
>
> I’m just dropping this here so I have something to refer people to when they ask. This is a simple concept app (copyable), that demonstrates the following techniques: Building custom forms for adding and editing list items (as an alternative to the native forms provided by Glide) Preventing duplicate new entries using [User Specific Columns](https://docs.glideapps.com/all/reference/data-editor/user-specific-columns) and [Relations](https://docs.glideapps.com/all/reference/data-editor/computed-columns/relation-column) Enforcing mandatory input items The use of visibility conditions and user specific booleans to control user flow There is nothing particular…

Add fields for `producto`, `peso_pieza` and `peso_colada` (basic columns).

Use relations & lookup to pull back peso\_colada and peso\_pieza for the chosen product.

Add an AI component, connect the lookup fields and the basic column fields for `peso_pieza` and `peso_colada`. Tell it to write to the basic columns whenever the lookup fields are changed. Also tell it to not generate anything on the front end and set the height to 0.

---

_[View the full topic](https://community.glideapps.com/t/setting-a-default-value-to-an-entry-component/82406)._
