# Select field does not appear in formData

**URL:** <https://community.weweb.io/t/select-field-does-not-appear-in-formdata/16602>\
**Category:** How do I?\
**Created:** [February 18, 2025, 2:13am UTC](https://community.weweb.io/t/select-field-does-not-appear-in-formdata/16602 "2025-02-18T02:13:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![endrigo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/endrigo/32/12472_2.png) [@endrigo](https://community.weweb.io/u/endrigo)\
**Post date:** [February 18, 2025, 2:13am UTC](https://community.weweb.io/t/select-field-does-not-appear-in-formdata/16602/1 "2025-02-18T02:13:31Z")

</div>

In a form I added several inputs and they all appear in formData so that I can use this object to send it to my backend with all the screen fields I need, however the input select components are not part of the form and do not appear in formData. What can be done so that all data editing components appear in formData automatically?

---

<div class="post-metadata">

**Author:** ![Sambhavi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/sambhavi/32/11978_2.png) [@Sambhavi](https://community.weweb.io/u/Sambhavi)\
**Post date:** [February 18, 2025, 6:53am UTC](https://community.weweb.io/t/select-field-does-not-appear-in-formdata/16602/2 "2025-02-18T06:53:28Z")

</div>

@endrigo How do you populate the select field? If it’s through a variable then the value will automatically show up. If it’s through a Collection, then you need to set the id and value.

In below image, I used a variable.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/605c2e369ed44e8e4da6b2ce777c76031e8e18c9.png)

---

<div class="post-metadata">

**Author:** ![endrigo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/endrigo/32/12472_2.png) [@endrigo](https://community.weweb.io/u/endrigo)\
**Post date:** [February 18, 2025, 11:14pm UTC](https://community.weweb.io/t/select-field-does-not-appear-in-formdata/16602/3 "2025-02-18T23:14:38Z")

</div>

@Sambhavi My select is manually populated with text and value. That’s not the problem, the problem is that the select input does not appear in the formData object. See the image, to assemble the body of my PUT request I had to add the select input value manually.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/0d7588971644373fe82a842e835cfeea1dc3a740.png)

---

<div class="post-metadata">

**Author:** ![Sambhavi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/sambhavi/32/11978_2.png) [@Sambhavi](https://community.weweb.io/u/Sambhavi)\
**Post date:** [February 20, 2025, 4:53pm UTC](https://community.weweb.io/t/select-field-does-not-appear-in-formdata/16602/4 "2025-02-20T16:53:38Z")

</div>

Ah okay. I generally map values from component section of the current page. 🤔

---

<div class="post-metadata">

**Author:** ![avidflow](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/avidflow/32/13649_2.png) [@avidflow](https://community.weweb.io/u/avidflow)\
**Post date:** [May 28, 2025, 12:00pm UTC](https://community.weweb.io/t/select-field-does-not-appear-in-formdata/16602/5 "2025-05-28T12:00:52Z")

</div>

Hi 👋,

Were you able to figure out why this was happening? It’s happening to me too. I don’t see my Select input on the native form data object either.

---

<div class="post-metadata">

**Author:** ![Batik\_Okazov](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/batik_okazov/32/12688_2.png) [@Batik\_Okazov](https://community.weweb.io/u/Batik_Okazov)\
**Post date:** [May 28, 2025, 1:01pm UTC](https://community.weweb.io/t/select-field-does-not-appear-in-formdata/16602/6 "2025-05-28T13:01:54Z")

</div>

Hi,

that usually happens when the name of an element is not assigned. The element that is placed inside the form has that specific green tag as you can see on the screenshot.

So “field name” below this tag **should not be empty or repetitive**. In case of duplicate names, only one element will be displayed inside the formData. Can you check?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/d/df21caa47dfa421771883cae33d63257028fc66a.png)

---

<div class="post-metadata">

**Author:** ![avidflow](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/avidflow/32/13649_2.png) [@avidflow](https://community.weweb.io/u/avidflow)\
**Post date:** [May 28, 2025, 6:25pm UTC](https://community.weweb.io/t/select-field-does-not-appear-in-formdata/16602/7 "2025-05-28T18:25:33Z")

</div>

Ah, thank you. That’s a great clue.

Strangely when I check my Select element’s properties, I see it doesn’t belong to the form. Although I added the element inside the form, it doesn’t show me the field name or the green tag like it does for Input text elements.

I’m probably missing something because the select element is definitely within the form at the same level of other input elements (and they’re being detected).

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/1472e0b9b0ebc94b1f95f9485b4fd4008139e629.png)
