My form comes from Hubspot and is embedded into a fancybox.

I would like the box to close as soon as the person hits "submit" but instead it redirects and stays open.

Secondly, I tried entering the code to clear the content box after submission but the old data stays in the fields after reopening.

1. How do I make the box close after they "submit"?
2. How do I code so that fields clear after each submission?

<http://online.saintleo.edu/FancyBox2/FancyBox.html>

In advance, thank you. You guys/gals are great.