# LIST field - default value

**URL:** <https://community.gravityforms.com/t/list-field-default-value/8364>\
**Category:** Get Help\
**Tags:** default-value, list\
**Created:** [March 18, 2021, 8:10am UTC](https://community.gravityforms.com/t/list-field-default-value/8364 "2021-03-18T08:10:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5dd2b125cd7b6396](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user5dd2b125cd7b6396/32/1308_2.png) [@user5dd2b125cd7b6396](https://community.gravityforms.com/u/user5dd2b125cd7b6396)\
**Post date:** [March 18, 2021, 8:10am UTC](https://community.gravityforms.com/t/list-field-default-value/8364/1 "2021-03-18T08:10:51Z")

</div>

Hi there,

I created a form with a List field which hold 10 columns, out of them 3 should be a drop down, I managed to set it up with:

//set LIST question - YES/NO Questions

add\_filter(“gform\_column\_input\_1\_5\_4”, “set\_column\_does\_representive”, 10, 5);  
function set\_column\_does\_representive($input\_info, $field, $column, $value, $form\_id){  
return array(“type” =\> “select”, “choices” =\> array(  
array(“text”=\>“Yes”, “value”=\>“1”),  
array(“text”=\>“NO”, “value”=\>“0”)  
));  
}

it works fine BUT once I open a new row, there is no default value within the drop down (check image)

I tried to solve it by adding: “defaultValue” =\> “Yes” OR “default\_value” =\> “Yes” to this function but it’s not working.

Any advice ? How can I populate the new row’s drop down fields with default value ?

Thanks

 ![LIST](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/d/d97aca289d9b9e862f9b420aafd00c419dec68bf.png)

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 5, 2022, 8:40am UTC](https://community.gravityforms.com/t/list-field-default-value/8364/2 "2022-01-05T08:40:32Z")

</div>

Closed on January 5, 2022, 8:40am UTC


