oops. copied this into the include file from the wrong file and the action on the form is wrong. should be fixed now.