I was just giving you some pseudocode so that you could implement it yourself.
Just so I know how to better guide you, what changes have you made to the form and the validation since you created it?
Did you move some function calls to the onchange of the select?