Problem is with form submit -- need to change to use onsubmit