Reload / Refresh form -- using script

Reload / Refresh form -- using script

Hi,
i am trying to create an application where
data is accepted only if certain conditions are met ---- so far so good,.. no prob here

I will be embedding this form at my site.

however, if the condition is not fulfilled
i want only the form to reload
(ie clear all entries and make it ready for a new entry)

How do i go about this?
Thanks for your time and patience
Regards