Or is this possible? There are two drop-down lists in form. Whenever the list of values in first drop down list is changed, the list in second drop-down field should
get updated. The both drop down-list should contain same values.
There is a possible work around with fixed values that allow editing.
First create a "on edit" script for the drop list.
Create a static variable (global may be ok but static will retain data after shut down).
Make a if rule that checks if your entry in drop list is contained in static variable. If not add this records field value plus current content of variable (use a return to keep on new line) with set text action.
Now when anything is added to drop list the static variable will contain this list.
Create a form with a multiline field and set it's value to the static variable to view/print data.
If [$editlist] Not Contains "[staticlist]" then
[$editlist] = [$editlist]<BR> [staticlist]
displayform: [multiline] = "[$staticlist]"
Did a rough mock up and appears to work - could make a demo file if stuck.