Prototype.js

I am facing some problem in prototype.js, can u please help me.

var a=$H(

{

file: $F(‘Database’),

}

);

As this File attribute is getting value from the form from database field. But now I have dialog list field called database on the form. I need only selected values to be store in file attribute. How can I do that??

Thanks for help

Please help.

Subject: Prototype.js

The $F() function expects the fields to have a value, and default Domino only puts text in the dialoglists. Adding an alias should fix this:value1|value1

value2|value2

…should produce the correct: