Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Captive portal doesn't redirect when hitting enter key instead of clicking

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      semistatic
      last edited by

      I have an odd captive portal issue…

      I created a custom form, and when you hit enter instead of clicking on the go button, it loops back to the page without the redirurl...

      Here's my code:

      "http://www.w3.org/TR/html4/loose.dtd">

      <title>Welcome to the site</title>

      |
        baranof.jpg
        |

      Welcome to the site!

      Please enter your room # and click 'Go' to connect to the Internet:

      <form method="post" action="$PORTAL_ACTION$">
        Room#:

      </form>

      |

      <iframe src="http://url.com/weather/default.aspx?zip=99801" width="100%" height="350" frameborder="0"><br />  <p>Your browser does not support iframes.</p><br /></iframe>

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • M
        mhochman
        last edited by

        What browser are you using?    with our set up,  if you hit enter in IE,  it just redirects you back to the login page until you click the button,  in safari and Firefox,  hitting enter will pass you through the portal.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.