Forms - howto use return for submitting in Forms?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wilhelm Kutting

    Forms - howto use return for submitting in Forms?

    Hi,
    is there a possibility to use the RETURN for submitting Formdata instead
    of pushing the Buttton?
  • kaeli

    #2
    Re: Forms - howto use return for submitting in Forms?

    In article <d30mvp$ain$1@n ewsreader3.netc ologne.de>, wkutting@arcor. de
    enlightened us with...[color=blue]
    > Hi,
    > is there a possibility to use the RETURN for submitting Formdata instead
    > of pushing the Buttton?
    >[/color]

    Yes.
    Sometimes browsers do this by themselves, depending on how you designed the
    form. If you didn't provide a submit button, but only a regular button, you
    have to capture the enter keypress with javascript. Check
    comp.lang.javas cript archives because this has been discussed to death over
    there already.

    --
    --
    ~kaeli~
    Kill one man and you are a murderer. Kill millions and you
    are a conqueror. Kill everyone and you are God.



    Comment

    • Safalra

      #3
      Re: Forms - howto use return for submitting in Forms?

      Wilhelm Kutting wrote:[color=blue]
      > is there a possibility to use the RETURN for submitting Formdata[/color]
      instead[color=blue]
      > of pushing the Buttton?[/color]
      [color=blue]
      >From a usability perspective, it's better to leave it to the browser,[/color]
      as users already know what to expect from their own browser and might
      be irritated it something changes.

      --
      Safalra (Stephen Morley)


      Comment

      • kaeli

        #4
        Re: Forms - howto use return for submitting in Forms?

        In article <1112875119.062 213.88840@o13g2 000cwo.googlegr oups.com>,
        usenet@safalra. com enlightened us with...[color=blue]
        > Wilhelm Kutting wrote:[color=green]
        > > is there a possibility to use the RETURN for submitting Formdata[/color]
        > instead[color=green]
        > > of pushing the Buttton?[/color]
        >[color=green]
        > >From a usability perspective, it's better to leave it to the browser,[/color]
        > as users already know what to expect from their own browser and might
        > be irritated it something changes.[/color]

        As a Firefox user stuck in an IE world, I actually LIKE it when people make
        sure the form submits when I hit the enter key. I expect that behavior, but
        sometimes people do things that for some reason cause the form to NOT submit
        when I hit enter. Such as not using a submit button at all, but just a button
        (often b/c there is more than one action one could take or such).

        JMHO, YMMV.

        --
        --
        ~kaeli~
        Quantum Express: When you absolutely, positively, don't
        know where it's going or when it needs to be there.



        Comment

        • Tim

          #5
          Re: Forms - howto use return for submitting in Forms?

          On Thu, 07 Apr 2005 04:58:39 -0700, Safalra wrote:
          [color=blue]
          > From a usability perspective, it's better to leave it to the browser,
          > as users already know what to expect from their own browser and might be
          > irritated it something changes.[/color]

          I agree. While I prefer it that the enter key only enters data into the
          current gadget, rather than submits the whole form, I'm used to what my
          software normally does. It's easier if it always works the same way.

          What's worse if you try and *make* a form submit when the enter key is
          pressed on a system which doesn't normally work that way.

          --
          If you insist on e-mailing me, use the reply-to address (it's real but
          temporary). But please reply to the group, like you're supposed to.

          This message was sent without a virus, please delete some files yourself.

          Comment

          • Safalra

            #6
            Re: Forms - howto use return for submitting in Forms?

            Tim wrote:[color=blue]
            > On Thu, 07 Apr 2005 04:58:39 -0700, Safalra wrote:[color=green]
            > > From a usability perspective, it's better to leave it to the[/color][/color]
            browser,[color=blue][color=green]
            > > as users already know what to expect from their own browser and[/color][/color]
            might be[color=blue][color=green]
            > > irritated it something changes.[/color]
            >
            > [snip]
            >
            > What's worse if you try and *make* a form submit when the enter key[/color]
            is[color=blue]
            > pressed on a system which doesn't normally work that way.[/color]

            Think of the poor Amiga users... :) Actually Amiga browsers make up
            about 0.1% of the hits to my site, so I guess they are still around.

            --
            Safalra (Stephen Morley)


            Comment

            • Tim

              #7
              Re: Forms - howto use return for submitting in Forms?

              Tim wrote:
              [color=blue][color=green]
              >> What's worse if you try and *make* a form submit when the enter key
              >> is pressed on a system which doesn't normally work that way.[/color][/color]

              "Safalra" <usenet@safalra .com> posted:
              [color=blue]
              > Think of the poor Amiga users... :) Actually Amiga browsers make up
              > about 0.1% of the hits to my site, so I guess they are still around.[/color]

              Actually, that was one of them on my mind. I still have fond memories of
              using mine (a system that boots in 12 seconds, doesn't need shutdowns,
              isn't plagued by internet viruses, didn't need re-installing software over
              and over, didn't have huge bloated software, didn't have cryptic crap in
              system directories, and so on...). I still have one under the desk used
              for specific tasks that it's best suited for: Using a computer to generate
              text and graphics for video work.

              Getting back to the task at hand, I found its manner of using form-like
              gadgets to be more logical. Anybody who's ever typed on a typewriter knows
              that hitting enter only finishes the current task (what you just typed in).
              You do something extra once you've finished enterring in data (which you do
              by typing and pressing enter).

              The usual behaviour of using forms confuses most new Windows users, they
              find they've suddenly submitted something that they weren't read to, yet,
              if they use just the keyboard. Rather than those that click with the
              mouse, type somewhere, click elsewhere with the mouse, and type there, etc
              (who've probably decided to do that because they got a shock the first time
              they pressed enter in a form-like gadget).

              --
              If you insist on e-mailing me, use the reply-to address (it's real but
              temporary). But please reply to the group, like you're supposed to.

              This message was sent without a virus, please delete some files yourself.

              Comment

              • Safalra

                #8
                Re: Forms - howto use return for submitting in Forms?

                Tim wrote:[color=blue]
                > Tim wrote:[color=green][color=darkred]
                > >> What's worse if you try and *make* a form submit when the enter[/color][/color][/color]
                key[color=blue][color=green][color=darkred]
                > >> is pressed on a system which doesn't normally work that way.[/color][/color]
                >
                > "Safalra" <usenet@safalra .com> posted:[color=green]
                > > Think of the poor Amiga users... :) Actually Amiga browsers make up
                > > about 0.1% of the hits to my site, so I guess they are still[/color][/color]
                around.[color=blue]
                >
                > Actually, that was one of them on my mind. I still have fond[/color]
                memories of[color=blue]
                > using mine [snip how great the Amiga is] I still have one under the[/color]
                desk

                Me too. Though mainly 'cause I'm determined to complete The Shepherd
                one day (level 48, after almost a decade) :)
                [color=blue]
                > Getting back to the task at hand, I found its manner of using[/color]
                form-like[color=blue]
                > gadgets to be more logical.[/color]

                I'd agree with you there. Unfortunately usability theory dictates that
                it's better to stick with a standard (which the tab-movement now is, in
                effect) than to introduce something different, even if it's
                theoretically better (out of context). So we're stuck with blue
                hyperlinks too, unless we want to confuse visitors...

                --
                Safalra (Stephen Morley)


                Comment

                Working...