# Passing Screen Values into a form

**URL:** <https://community.glideapps.com/t/passing-screen-values-into-a-form/68579>\
**Category:** Ask for Help\
**Created:** [December 11, 2023, 3:50pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579 "2023-12-11T15:50:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Si\_Gal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/si_gal/32/79433_2.png) [@Si\_Gal](https://community.glideapps.com/u/Si_Gal)\
**Post date:** [December 11, 2023, 3:50pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/1 "2023-12-11T15:50:26Z")

</div>

Hi, I am trying to pass a screen value into a form but I don’t seem to be able to do it.

Each organisation has a library which would ideally stay in one table. But the library is split into FF&E & Finishes and therefore I’ve created two pages with the relevent filters on it. When a user hits the add button on the FF&E page I would like it to automatically add FF&E to the type column in the database and the same for Finishes on the finishes page. I have tried putting a hidden text element onto the page in order to pick that value up as the form field but I can’t pick it up.

The only other option I can think of is using the url of the page and connect it to the type.

Any help would be much appreciated.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/0/a057d2d7a61e43e3836a209a0b3b1dd374531a14.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 11, 2023, 3:54pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/2 "2023-12-11T15:54:46Z")

</div>

How are you setting up the form? Are you using Value components within the form?

---

<div class="post-metadata">

**Author:** ![Si\_Gal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/si_gal/32/79433_2.png) [@Si\_Gal](https://community.glideapps.com/u/Si_Gal)\
**Post date:** [December 11, 2023, 3:57pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/3 "2023-12-11T15:57:34Z")

</div>

This is how I have it set up

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/8/d8597f181e07dfb75079385982eb9c45e22211ea.jpeg)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 11, 2023, 4:00pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/4 "2023-12-11T16:00:50Z")

</div>

If you add this component, do you get what you want?

 ![Screenshot_20231211-095941](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/b/ab6f5ed701e5fa3a933a8b644d7d74141f8ba8c6.jpeg)

---

<div class="post-metadata">

**Author:** ![Si\_Gal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/si_gal/32/79433_2.png) [@Si\_Gal](https://community.glideapps.com/u/Si_Gal)\
**Post date:** [December 11, 2023, 4:02pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/5 "2023-12-11T16:02:16Z")

</div>

nothing unless I manually the type into the box. However, I’ve just realised that Types are linked to the categories which the user actively sets in the form so I should be able to pull it from that.

Will give that a try and let you know if it doesn’t work

Thansk

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 11, 2023, 4:23pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/6 "2023-12-11T16:23:19Z")

</div>

Value from Screen components automatically pass values through a form without the user having to see it. It’s automatic without showing anything on the screen. Isn’t that what you want?

---

<div class="post-metadata">

**Author:** ![Si\_Gal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/si_gal/32/79433_2.png) [@Si\_Gal](https://community.glideapps.com/u/Si_Gal)\
**Post date:** [December 11, 2023, 4:44pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/7 "2023-12-11T16:44:53Z")

</div>

It is however, what happens if there is no data in a companies library yet, no values would be availble to pass. I guess i could set up an action when a user organisation is created that creates two hideen library items, one for FF&E and one for Finishes so the values will be there to pass. Will give it a try.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 11, 2023, 4:56pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/8 "2023-12-11T16:56:24Z")

</div>

I might need more information to get a better understanding. Are you saying that the Type should automatically populate, but if the organization does not have a type, then you want to show an entry component so they can manually add a Type?

Sorry, just thing to wrap my head around your data structure and app flow.

---

<div class="post-metadata">

**Author:** ![Si\_Gal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/si_gal/32/79433_2.png) [@Si\_Gal](https://community.glideapps.com/u/Si_Gal)\
**Post date:** [December 11, 2023, 8:14pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/9 "2023-12-11T20:14:08Z")

</div>

Hi Jeff. Thanks for your help but I got it sorted 👌

I have another question though.

That form is linked to an action that triggers a number of searches and new row creation in other tables.

I am hoping to also create rows in that table using the API from an external source. Is it possible to trigger the action when a new record is created rather than from the form submit button?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 11, 2023, 8:30pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/10 "2023-12-11T20:30:27Z")

</div>

At the moment there is no way to trigger actions externally. Actions can only be triggered by user interaction within the app. Glide is working on some backend automation, but I don’t know how long it will be before we see that.

---

<div class="post-metadata">

**Author:** ![Si\_Gal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/si_gal/32/79433_2.png) [@Si\_Gal](https://community.glideapps.com/u/Si_Gal)\
**Post date:** [December 11, 2023, 9:38pm UTC](https://community.glideapps.com/t/passing-screen-values-into-a-form/68579/11 "2023-12-11T21:38:37Z")

</div>

Ok great. Thanks so much
