Forum Moderators: open

Message Too Old, No Replies

Accidental form submit?

Driving me crazy!

         

Mr_Roberto

7:02 pm on Feb 12, 2005 (gmt 0)

10+ Year Member



I have a form with a textarea on it as the last field before the submit button. It appears that many people, when trying to type a double quote ("), are accidentally causing the form to be submitted. Can anyone tell me what key sequence they might be hitting, or how I can prevent this? I can't seem to reproduce it myself. Thanks for any info, this one is really driving me mad!

rocknbil

9:21 pm on Feb 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The " is right next to "Enter." :-D

Shouldn't happen in a textarea though, even with the shift key down. What you can do is put some Javascript in, or put another field last in the form, maybe an optional checkbox, like "Check this box if you want a CC of this information"?

sonjay

12:43 pm on Feb 13, 2005 (gmt 0)

10+ Year Member



Are you sure that is what's happening?

Maybe they're laboriously writing the next great novel in that textarea box, but everything after the first double quote is getting lost in the submission process.

How are you processing the form submission?

Mr_Roberto

7:45 pm on Feb 13, 2005 (gmt 0)

10+ Year Member



Pretty sure its an accidental submit. In all my testing I haven't had any problem in getting double quotes to post and process correctly. Its the proximity to the enter key that makes me think there is a key sequence that is sometimes being executed. I'm tempted to put in some sort of check-box after the textarea like "I'm not accidentaly submitting this form"...

It would be nice to know whats happening instead of just guessing at it.. but maybe guessing is all I can really do.

tedster

8:52 pm on Feb 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



... some sort of check-box after the textarea like "I'm not accidentaly submitting this form"

A confirm page is a pretty common thing before submission - sounds good to me. Sometimes a general fix is better than a precise definition of the problem.

incrediBILL

9:14 pm on Feb 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



How about you either:

a) do a javascript popup asking "Confirm SUBMIT FORM Yes/No" or...

b) put in a PREVIEW page adter submitting that gives them a chance to SUBMIT or EDIT MORE