Form is working in Chrome, but is not working on other browsers