Announcement

Collapse
No announcement yet.

submit value?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    submit value?



    I've haven't had need until now, so I don't know how if... Is it possible to activate a submit
    button through the url? I'm filling a form and while it isn't
    necessary, it be nice to set the submit input button as pressed.

    the link maybe would look something like:

    http://pathtoform?formfield1=mydata&...data2&submit=1

    BTW: Not my form, I don't have access to it.

    TIA
    --
    Best regards,
    IDS mailto:[email protected]



    #2
    submit value?



    The url post IS a submit. Just include all the name/value pairs that the
    form produces and use the forms "Action" value...

    -Bruce

    > -----Original Message-----
    > From: [email protected]
    > [mailto:[email protected]] On Behalf Of IDS
    > Sent: Tuesday, April 05, 2005 12:30 PM
    > To: [email protected]
    > Subject: [meu] submit value?
    >
    > I've haven't had need until now, so I don't know how if... Is
    > it possible to activate a submit button through the url? I'm
    > filling a form and while it isn't necessary, it be nice to
    > set the submit input button as pressed.
    >
    > the link maybe would look something like:
    >
    > http://pathtoform?formfield1=mydata&...data2&submit=1
    >
    > BTW: Not my form, I don't have access to it.
    >
    > TIA
    > --
    > Best regards,
    > IDS mailto:[email protected]
    >
    >

    Comment


      #3
      submit value?



      On Tue, 5 Apr 2005 12:30:10 -0700, IDS <[email protected]> gave utterance to
      the following:

      > I've haven't had need until now, so I don't know how if... Is it
      > possible to activate a submit
      > button through the url? I'm filling a form and while it isn't
      > necessary, it be nice to set the submit input button as pressed.
      >
      > the link maybe would look something like:
      >
      > http://pathtoform?formfield1=mydata&...data2&submit=1
      >
      > BTW: Not my form, I don't have access to it.
      >
      Depends on the server. Its possible to configure apache to accept only
      POST data (blocking GET data) for security reasons - to stop people
      emulating the submission of a form they don't have access to or using a
      robot to make bulk submissions. (We recently had to do this when someone
      started hammering our whois script with an external bot)

      --
      Richard Grevers
      Between two evils always pick the one you haven't tried



      Comment


        #4
        Re[2]: submit value?



        Hello Bruce,

        Doh!

        Actually turns out to be not as simple as I thought it would be after
        I read your answer. I accomplish this this way all time in my own
        scripts... I am trying to form the url with all the parameters. The
        link goes out in an email. I can't seem to form
        it properly. This form is actually a call to merchant.mvc which the
        "submit" is doing the same thing with different params. So it needs
        action and screen store_code, etc. and then the fields that need to be
        filled, with a "post" (submit).

        I'm either confused or stumped or more than likely both. :-)

        Here another sample URL:

        http://127.0.0.1:8000/Merchant2/merc...335&pc=SKU1234

        This link pulls up info based on product sku and order_id.
        Screen=Myscreen obviously pulls up the correct form from the module
        that accepts the fields "Order_ID" and "pc"

        Scott
        IDS

        Tuesday, April 5, 2005, 12:48:16 PM, you wrote:

        BGPc> The url post IS a submit. Just include all the name/value pairs that the
        BGPc> form produces and use the forms "Action" value...

        BGPc> -Bruce

        >> -----Original Message-----
        >> From: [email protected]
        >> [mailto:[email protected]] On Behalf Of IDS
        >> Sent: Tuesday, April 05, 2005 12:30 PM
        >> To: [email protected]
        >> Subject: [meu] submit value?
        >>
        >> I've haven't had need until now, so I don't know how if... Is
        >> it possible to activate a submit button through the url? I'm
        >> filling a form and while it isn't necessary, it be nice to
        >> set the submit input button as pressed.
        >>
        >> the link maybe would look something like:
        >>
        >> http://pathtoform?formfield1=mydata&...data2&submit=1
        >>
        >> BTW: Not my form, I don't have access to it.
        >>
        >> TIA
        >> --
        >> Best regards,
        >> IDS mailto:[email protected]
        >>
        >>

        Comment


          #5
          Re[2]: submit value?



          Hello Bruce,

          Doh!

          Actually turns out to be not as simple as I thought it would be after
          I read your answer. I accomplish this this way all time in my own
          scripts... I am trying to form the url with all the parameters. The
          link goes out in an email. I can't seem to form
          it properly. This form is actually a call to merchant.mvc which the
          "submit" is doing the same thing with different params. So it needs
          action and screen store_code, etc. and then the fields that need to be
          filled, with a "post" (submit).

          I'm either confused or stumped or more than likely both. :-)

          Here another sample URL:

          http://127.0.0.1:8000/Merchant2/merc...335&pc=SKU1234

          This link pulls up info based on product sku and order_id.
          Screen=Myscreen obviously pulls up the correct form from the module
          that accepts the fields "Order_ID" and "pc"

          Scott
          IDS

          Tuesday, April 5, 2005, 12:48:16 PM, you wrote:

          BGPc> The url post IS a submit. Just include all the name/value pairs that the
          BGPc> form produces and use the forms "Action" value...

          BGPc> -Bruce

          >> -----Original Message-----
          >> From: [email protected]
          >> [mailto:[email protected]] On Behalf Of IDS
          >> Sent: Tuesday, April 05, 2005 12:30 PM
          >> To: [email protected]
          >> Subject: [meu] submit value?
          >>
          >> I've haven't had need until now, so I don't know how if... Is
          >> it possible to activate a submit button through the url? I'm
          >> filling a form and while it isn't necessary, it be nice to
          >> set the submit input button as pressed.
          >>
          >> the link maybe would look something like:
          >>
          >> http://pathtoform?formfield1=mydata&...data2&submit=1
          >>
          >> BTW: Not my form, I don't have access to it.
          >>
          >> TIA
          >> --
          >> Best regards,
          >> IDS mailto:[email protected]
          >>
          >>

          Comment


            #6
            Re[2]: submit value?



            Hello Bruce,

            Doh!

            Actually turns out to be not as simple as I thought it would be after
            I read your answer. I accomplish this this way all time in my own
            scripts... I am trying to form the url with all the parameters. The
            link goes out in an email. I can't seem to form
            it properly. This form is actually a call to merchant.mvc which the
            "submit" is doing the same thing with different params. So it needs
            action and screen store_code, etc. and then the fields that need to be
            filled, with a "post" (submit).

            I'm either confused or stumped or more than likely both. :-)

            Here another sample URL:

            http://127.0.0.1:8000/Merchant2/merc...335&pc=SKU1234

            This link pulls up info based on product sku and order_id.
            Screen=Myscreen obviously pulls up the correct form from the module
            that accepts the fields "Order_ID" and "pc"

            Scott
            IDS

            Tuesday, April 5, 2005, 12:48:16 PM, you wrote:

            BGPc> The url post IS a submit. Just include all the name/value pairs that the
            BGPc> form produces and use the forms "Action" value...

            BGPc> -Bruce

            >> -----Original Message-----
            >> From: [email protected]
            >> [mailto:[email protected]] On Behalf Of IDS
            >> Sent: Tuesday, April 05, 2005 12:30 PM
            >> To: [email protected]
            >> Subject: [meu] submit value?
            >>
            >> I've haven't had need until now, so I don't know how if... Is
            >> it possible to activate a submit button through the url? I'm
            >> filling a form and while it isn't necessary, it be nice to
            >> set the submit input button as pressed.
            >>
            >> the link maybe would look something like:
            >>
            >> http://pathtoform?formfield1=mydata&...data2&submit=1
            >>
            >> BTW: Not my form, I don't have access to it.
            >>
            >> TIA
            >> --
            >> Best regards,
            >> IDS mailto:[email protected]
            >>
            >>

            Comment


              #7
              Re[3]: submit value?



              This is what I'm using when generating the link for the html email.
              continue

              Data is posting, but still need the submit button selected. What do i
              need to add for it to work?

              TIA

              Scott
              IDS

              Tuesday, April 5, 2005, 2:59:25 PM, you wrote:

              I> Hello Bruce,

              I> Doh!

              I> Actually turns out to be not as simple as I thought it would be after
              I> I read your answer. I accomplish this this way all time in my own
              I> scripts... I am trying to form the url with all the parameters. The
              I> link goes out in an email. I can't seem to form
              I> it properly. This form is actually a call to merchant.mvc which the
              I> "submit" is doing the same thing with different params. So it needs
              I> action and screen store_code, etc. and then the fields that need to be
              I> filled, with a "post" (submit).

              I> I'm either confused or stumped or more than likely both. :-)

              I> Here another sample URL:

              I> http://127.0.0.1:8000/Merchant2/merc...335&pc=SKU1234

              I> This link pulls up info based on product sku and order_id.
              I> Screen=Myscreen obviously pulls up the correct form from the module
              I> that accepts the fields "Order_ID" and "pc"

              I> Scott
              I> IDS

              I> Tuesday, April 5, 2005, 12:48:16 PM, you wrote:

              BGPc>> The url post IS a submit. Just include all the name/value pairs that the
              BGPc>> form produces and use the forms "Action" value...

              BGPc>> -Bruce

              >>> -----Original Message-----
              >>> From: [email protected]
              >>> [mailto:[email protected]] On Behalf Of IDS
              >>> Sent: Tuesday, April 05, 2005 12:30 PM
              >>> To: [email protected]
              >>> Subject: [meu] submit value?
              >>>
              >>> I've haven't had need until now, so I don't know how if... Is
              >>> it possible to activate a submit button through the url? I'm
              >>> filling a form and while it isn't necessary, it be nice to
              >>> set the submit input button as pressed.
              >>>
              >>> the link maybe would look something like:
              >>>
              >>> http://pathtoform?formfield1=mydata&...data2&submit=1
              >>>
              >>> BTW: Not my form, I don't have access to it.
              >>>
              >>> TIA
              >>> --
              >>> Best regards,
              >>> IDS mailto:[email protected]
              >>>
              >>>

              Comment

              Working...
              X