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

    Captive Portal input button - submit vs image

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 1.3k 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.
    • G Offline
      glstud
      last edited by

      Is there any way to add an input button that uses an image source rather than the standard form button?  This slight change to an unauthenticated login works fine with the vanilla button, but using an image input type breaks the submit process it seems…

      <form method="post" action="$PORTAL_ACTION$"><input<br>name="redirurl" value="$PORTAL_REDIRURL$" type="hidden"> <input<br>name="accept" src="captiveportal-acceptbutton.png" type="image">

      thx!</input<br></input<br></form>

      1 Reply Last reply Reply Quote 0
      • J Offline
        jonallport
        last edited by

        Try applying a style to the button, instead of replacing it.

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