How do I reset the drop down options that is populated via service call?

I have two drop down fields (Customer and Project) on a form. Initially, Project field does not have any options defined. On the OnItemChange of Customer field I put a service call that would populate the options for Project. Problem is, when I hit the default Cancel action button that would reset the form, the existing options for Project still remained.

Looking at Volt Online Help, I see example code that would replace one or more options but I don't see example on how the actual function is called. I tried the code below

var newList = new Array();
BO.F_Project.setValue(newList);

as well as the variant below

var newList = new Array();
BO.F_Project = newList;

But neither seemed to work, so how do I empty all options for a drop down field that is populated via service call from another field ?

Tinus Riyanto - Prisma Global Solusi

Put the following code in the button's onClick event.
Then, when you click the button, the options will be empty.

var options = new Array();
var item = page.F_DropDown1;
item.setOptions( options );

Thank you, that code works when said field is empty. All I have to add is to empty the field beforehand with page.FDropDown1.setValue('')