Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lee 1130 posts 3088 karma points
    Dec 09, 2009 @ 18:06
    Lee
    0

    Might Be A Dumb Question...

    I have been following Tims tutorial for the locator package and I post a simple value to a specific page

       <form method="post" action="/shops.aspx">
            <ul class="inlineform">
                <li><input class="bigsearchtextbox" title="Search" type="text" name="s" /></li>
                <li><input class="bigsearchbutton" type="submit" value="GO" /></li>
            </ul>
        </form>

    Now on Tims example, some how his is showing the values posted in the QueryString?  

    http://lab.nibble.be/shops.aspx?s=london&radius=100

    But mine doesn't

    http://test.domain.co.uk/shops.aspx

    however everything is exactly the same as its just the default package?  I need mine to show in the QueryString as well, as I am going to have other values to filter the results?  

    Am I being stupid, and don't know something obvious?

  • Chad Rosenthal 272 posts 474 karma points
    Dec 09, 2009 @ 18:16
    Chad Rosenthal
    1

    change post to get

  • bob baty-barr 1180 posts 1294 karma points MVP
    Dec 09, 2009 @ 19:46
    bob baty-barr
    0

    if you notice on Tim's example, he has /shops.aspx? as his post url... try adding the question mark to your form post url and see if that works.

  • Lee 1130 posts 3088 karma points
    Dec 09, 2009 @ 20:38
    Lee
    0

    @bob - Nope ... Did the same as before but now with a ? at the end  :(

    @Chad - I'll give it a whirl, but Tims example used post?

  • Lee 1130 posts 3088 karma points
    Dec 09, 2009 @ 20:40
    Lee
    0

    God damn... Sorry Chad was right :) ... I just checked the source on the online example - Thanks

  • bob baty-barr 1180 posts 1294 karma points MVP
    Dec 09, 2009 @ 21:56
    bob baty-barr
    0

    that was wierd, i looked at his too and i thought his said post... Get is definitely the answer though... glad it works :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies