We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11190
    • 109 Posts
    Wayfinder 2.0 is working great for me. However, I have one long page with a eForm towards the bottom. When I click on a menu link created with Wayfinder, it takes me to the first field on the form. I would prefer it go to the top of the form (there is an anchor at the top that I use in links where I have control over the url). How can I tell Wayfinder to open this particular page at the top? I would imagine it’s really not a Wayfinder issue but something I must set on the page itself. Being an HTML and CSS ignoramus, I do not know what that is. Thanks - John
      http://www.spiritualoutreach.com
      Making Christianity intelligible to secular society
      • 26435
      • 1,193 Posts
      I would put an anchor tag in the HTML right above the section you want to jump to:
      <a name="jumpToHere" id="jumpToHere"></a>

      then if your page is "myform.html" and you want to immediately jump to the "jumpToHere" point on the page, in your link, you would put the page, then a pound (#), then the anchor name/id. so our link in this example would read:
      <a href="myform.html#jumpToHere">Jump Here Now</a>


      -sD-
      Dr. Scotty Delicious, Scientist.
        Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
        All of the above... in no specific order.


        I send pointless little messages
        • 11190
        • 109 Posts
        Thank you. That’s how I normally do it but I do not control the link url in Wayfinder. I did try changing the alias from somedoc.html to somedoc.html#topanchor but the MODx Manager doesn’t like that; it strips the # out of the alias name.
          http://www.spiritualoutreach.com
          Making Christianity intelligible to secular society
          • 26435
          • 1,193 Posts
          I see.
          with wayfinder, it would be a pain in the ass to make one specific document go to an anchor.
          I might suggest that you uncheck the "show in menu" check box on the eForm page, create a new "web link" document with the same parent as the eForm page and have it’s url be the eform page with the #anchor at the end.

          -sD-
          Dr. Scotty Delicious, Scientist.
            Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
            All of the above... in no specific order.


            I send pointless little messages
            • 11190
            • 109 Posts
            Thank you for the suggestion. It worked perfectly smiley
              http://www.spiritualoutreach.com
              Making Christianity intelligible to secular society