Why is my form disabling when I try to submit from my webpage?