# Empty value in a valuelist based on an Array

**URL:** <https://forum.servoy.com/t/empty-value-in-a-valuelist-based-on-an-array/2352>\
**Category:** Classic Servoy\
**Created:** [July 28, 2004, 4:52pm UTC](https://forum.servoy.com/t/empty-value-in-a-valuelist-based-on-an-array/2352 "2004-07-28T16:52:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@Alexander](https://forum.servoy.com/u/Alexander)\
**Post date:** [July 28, 2004, 4:52pm UTC](https://forum.servoy.com/t/empty-value-in-a-valuelist-based-on-an-array/2352/1 "2004-07-28T16:52:24Z")

</div>

How can I add an empty value to a valuelist that is based on an Array?

Alexander

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [July 28, 2004, 8:50pm UTC](https://forum.servoy.com/t/empty-value-in-a-valuelist-based-on-an-array/2352/2 "2004-07-28T20:50:16Z")

</div>

Add an empty entry in the array…

If you would create the array yourself like below, just add an extra entry

var testarray = new Array  
testarray[0] = ‘A’;  
testarray[1] = ‘B’;  
testarray[2] = ‘’;

hope this helps…

Paul
