Item in form

dear friend,my name is paul. i live in indonesia. i’m beginner in lotus notes. i have a trouble with form.

in my form i have a field name “select”. the select is a combobox. in the combobox, i have item “English” and “Indonesia”.

beside that, in my form, there is a field (combobox) name “product” with item “pasir”,“gula”,“buku”,“komputer”.

my question is can i change field name “product” with item “sand”,“sugar”,“book”,“computer”, when someone choose “select” field with “english”

and item “pasir”,“gula”,“buku”,“komputer”, when someone choose “select” field with “indonesia”

thanx for answering my question.

your sincerely

Paul

Subject: item in form

Sure !Follow the Steps :

  1. Create a Dialog List field and call it Language ( Note that Select is a reserved Keyword and hence change the field name to Country )

In the second tab, select “Enter choices (one per line)” and put in the Language names i.e. English (hit the enter key) and Indonesia

Check the field property called “Refresh fields on keyword change”

  1. Create another Dialog List field and call it Product

In the second tab, select “Use formula for choices” and put the following code :

eList:=“sand”:“sugar”:“book”:“computer”;

iList:=“pasir”:“gula”:“buku”:“komputer”;

@If(Language=“English”;eList;Language=“Indonesia”;iList;“”)

Check the field property called “Refresh choices on document refresh”

cheers !!

Ashish

Subject: RE: item in form

thanx u Ashish for the answer. it work as i hope