use a variable parentForm to record the form