Jan 12, 2006 #1 Mariano01 Programmer Joined Jan 11, 2006 Messages 4 Location AR I need a submit button, (must be submit type), but when I press enter, the form can´t be sended yet. Can this be done? Thanks Mariano Carpentier
I need a submit button, (must be submit type), but when I press enter, the form can´t be sended yet. Can this be done? Thanks Mariano Carpentier
Jan 12, 2006 #2 Sheco Programmer Joined Jan 3, 2005 Messages 5,457 Location US Do you want it to only submit if someone actually clicks the button? Upvote 0 Downvote
Jan 12, 2006 Thread starter #3 Mariano01 Programmer Joined Jan 11, 2006 Messages 4 Location AR Yes!, but I need it to be a submit type. Upvote 0 Downvote
Jan 12, 2006 #4 LFI Programmer Joined Apr 27, 1999 Messages 1,996 Location US Why does it HAVE to be a submit type? What's wrong with: <input type='button' value='Submit' onclick='this.form.submit()' /> Dave P.S., 'not sure if this.form.submit() actually works, but something LIKE that, anyway. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ O Time, Strength, Cash, and Patience! Upvote 0 Downvote
Why does it HAVE to be a submit type? What's wrong with: <input type='button' value='Submit' onclick='this.form.submit()' /> Dave P.S., 'not sure if this.form.submit() actually works, but something LIKE that, anyway. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ O Time, Strength, Cash, and Patience!