adds the empty shell of FormCode, modifies FormShow submission process