Dear
I appreciate your efforts, but what you are really trying to do is bypass definition of required field. So its like you are saying, you want 3 = 3 but you also want 3 <> 3, which is not possible. You cannot refresh required fields till any text is simply written in those fields. So either you will have to cancel 'required' constraint on that field or else simply call your transaction again and exit the present transaction.
Hope it saves your time and efforts,
Regards,
KS