form submit

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Radharadya dasa

    form submit

    hari,

    I do not want to allow uders to send the form just by pressing ENTER,
    just by clicking on the submit button. how can I do it?

    rrd

  • lallous

    #2
    Re: form submit

    Hello,

    Don't put a button of type 'submit' then on the button that you want to have
    the form submitted, have its type as type='button' and onclick handler as
    onclick='this.f orm.submit()'

    --
    Elias
    "Radharadya dasa" <radharadya@fre email.hu> wrote in message
    news:br1dnm$1mo $1@namru.matavn et.hu...[color=blue]
    > hari,
    >
    > I do not want to allow uders to send the form just by pressing ENTER,
    > just by clicking on the submit button. how can I do it?
    >
    > rrd
    >[/color]


    Comment

    • Stephen Poley

      #3
      Re: form submit

      On Mon, 8 Dec 2003 14:50:54 +0200, "lallous" <lallous@lgwm.o rg> wrote:
      [color=blue]
      >Hello,
      >
      >Don't put a button of type 'submit' then on the button that you want to have
      >the form submitted, have its type as type='button' and onclick handler as
      >onclick='this. form.submit()'[/color]

      Which means that anyone without Javascript is completely unable to use
      the form. Welcome to my new page:
      Deze pagina bestaat niet of is niet meer beschikbaar. Oude XS4ALL-homepages zijn soms nog terug te vinden via webarchieven.



      Perhaps the best response to the OP (whose question has been lost
      because you turned it into a sig) would be to ask why he wants to
      prevent a user from submitting using the Enter key. What actual problem
      is he trying to solve? Some users prefer to use the Enter key, after
      all.

      --
      Stephen Poley

      Comment

      • Radharadya dasa

        #4
        Re: form submit

        hari,

        OK. So my problem is that I do not want to let the user to send the form
        just in that case if he/she filled ALL the input fields.

        rrd[color=blue]
        >
        > Perhaps the best response to the OP (whose question has been lost
        > because you turned it into a sig) would be to ask why he wants to
        > prevent a user from submitting using the Enter key. What actual problem
        > is he trying to solve? Some users prefer to use the Enter key, after
        > all.
        >[/color]

        Comment

        • Thomas 'PointedEars' Lahn

          #5
          Re: form submit

          Radharadya dasa wrote:
          [color=blue]
          > I do not want to allow uders to send the form just by pressing ENTER,
          > just by clicking on the submit button. how can I do it?[/color]

          You want to manipulate the behavior of their software
          they are used to in an unexpected way? Great.


          PointedEars

          Comment

          • Thomas 'PointedEars' Lahn

            #6
            Re: form submit

            Radharadya dasa wrote:
            [color=blue]
            > OK. So my problem is that I do not want to let the user to send the
            > form just in that case if he/she filled ALL the input fields.[/color]

            That is a form validation problem, why don't you read previous answers
            before you ask that question again?
            [color=blue]
            > [Top post][/color]

            Please stop doing that. Place you answer below the line(s) of quote you
            are reffering to and remove the line(s) of quote you are not referring
            to, just as you see here.


            PointedEars

            Comment

            • Stephen Poley

              #7
              Re: form submit

              Top-posting corrected: perhaps you could have a quick read of
              Deze pagina bestaat niet of is niet meer beschikbaar. Oude XS4ALL-homepages zijn soms nog terug te vinden via webarchieven.



              On Mon, 08 Dec 2003 18:01:57 +0100, Radharadya dasa
              <radharadya@fre email.hu> wrote:
              [color=blue][color=green]
              >> Perhaps the best response to the OP (whose question has been lost
              >> because you turned it into a sig) would be to ask why he wants to
              >> prevent a user from submitting using the Enter key. What actual problem
              >> is he trying to solve? Some users prefer to use the Enter key, after
              >> all.[/color][/color]

              [color=blue]
              >OK. So my problem is that I do not want to let the user to send the form
              >just in that case if he/she filled ALL the input fields.[/color]

              Right. The page I mentioned covers that:
              Deze pagina bestaat niet of is niet meer beschikbaar. Oude XS4ALL-homepages zijn soms nog terug te vinden via webarchieven.



              --
              Stephen Poley

              Comment

              Working...