In the above example, do you want to autofill with what has been selected?
Supposing, if thats the case, run the following script in the calculate event of the "textfield"
dropdownfield.rawValue
here "dropdownfield" is the name of the dropdown list with apple, peach, orange.
Now in the intialize event of the "dropdownfield" paste this:
if (this.rawValue == null)
{ this.rawValue = " ";
}
For alternative solution, read this thread.
Regards
GS