Why is my form not allowing submit option?