Added ability to clear totals and some form validation