How to get keyword in choice field by agent on web?

HI all I want to know how to get keyword in choice field by agent on web?

for example:

a choice field,values like these:

China|CHN

Japanese|JAP

I just want to get keywords "China " and “japanese”,not “CHN” and “JAP”.

Thank u.

Your response will be appreciated.

Subject: How to get keyword in choice field by agent on web?

Hello,

U can write a web agent whihc is called everytime u select an option from your choice list. Check for the value selected from the document using DocumentContext property of NotesSession class . U can then use Select Case and get the value instead of Alias name.

HTH

Tom