# Ajout et affichage par category

**URL:** https://community.glideapps.com/t/ajout-et-affichage-par-category/70686
**Category:** Ask for Help
**Created:** [February 10, 2024, 10:36am UTC](https://community.glideapps.com/t/ajout-et-affichage-par-category/70686 "2024-02-10T10:36:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)
#### Post date: [February 10, 2024, 4:32pm UTC](https://community.glideapps.com/t/ajout-et-affichage-par-category/70686/2 "2024-02-10T16:32:29Z")

</div>

Hello.

Here are 2 possible user experiences:

**With ~~button~~ action**

- Go to the Detail Screen of a category
- Add a ‘Button’ component
- Configure the action of the ‘Button’ component: ‘Show form screen’.
- Source of this ‘Form screen’: objects.
- Add the entry components needed to enter your data.
- Add a ‘Values from screen’ component that acts as a hidden field and automatically passes the category value. Point to the Category column.

**No ~~button~~ action**

- Go to the Detail Screen of a category
- Add a ‘Form container’ component. The idea is the same as above, except that instead of opening a new window, the form is on the same page.
- Configuration of the form container: on the right, the ‘Additional columns’ section acts as default values. Point the Category column of an object to the Category Name column. This turns the category name into a hidden value.

* * *

Bonjour.

Voici 2 expériences utilisateurs possibles :

**Avec ~~bouton~~ action**

- Rendez-vous sur la Detail Screen d’une catégorie
- Ajoutez un composant ‘Button’
- Configurez l’action du composant ‘Button’ : ‘Show form screen’
- Source de cette ‘Form screen’ : les objets.
- Ajoutez-y les composants nécessaires pour entrer vos données.
- Ajoutez un composant ‘Values from screen’ qui fait office de champs caché et qui fait automatiquement passer la valeur de la catégorie. Pointez vers la colonne Catégorie.

**Sans ~~bouton~~ action**

- Rendez-vous sur la Detail Screen d’une catégorie
- Ajoutez un composant ‘Form container’. L’idée est la même que précédemment, sauf qu’au lieu d’ouvrir une nouvelle fenêtre, le formulaire est sur la même page.
- Configuration du ‘Form container’: à droite la partie ‘Additional columns’ fait office de valeurs par défaut. Pointez la colonne Catégorie d’un objet à la colonne Nom de la catégorie. Cela revient à faire passer le nom de la catégorie en valeur cachée.

---

_[View the full topic](https://community.glideapps.com/t/ajout-et-affichage-par-category/70686)._
