I’m afraid that is not possible. I described why in a prior post (DevCentral - An F5 Technical Community). The problem is that when Tcl is included in an APL statement, for example to construct the contents of a dropdown, the code is run prior to the web page rendering. In other words, by the time you see the page and are able to made a dropdown choice above, the code below has already been run.
It is possible to change theapparentdefault value of a field according to choices made above it in a template, but the method is a bit messy. You must create 2 APL fields and surround them with optionals, ie.: