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

Using An Image for Submitting

Scheduled Pinned Locked Moved Captive Portal
3 Posts 3 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.
  • A
    absolute
    last edited by Oct 4, 2011, 6:26 PM

    After upgrading to 2.0, we've been having some issues with the Captive Portal in our company - after submitting the page simply refreshes it, without it being processed.  We couldn't identify why the captive portal system would appear to work, and then suddenly stop, after verifying that no Radius requests were being sent out.

    We seem to have pinpointed the issue, which is that our login page contained an Image input, and not a Submit input, to make it more visually appealing.

    After replacing the image with a standard Submit input, the form is now properly processed by pfSense, pulling up the error page or at least processing the request.

    To confirm, is it a requirement that we can't use an Image input named "submit", as can normally be done with forms?

    1 Reply Last reply Reply Quote 0
    • W
      wallabybob
      last edited by Oct 4, 2011, 9:59 PM

      My HTML manual says input type=image is the same as type=submit except the submit button is replaced with an image and the mouse coordinates are also sent to the form processor.

      Perhaps there is a problem with the coding of the HTML form OR the form processor is barfing on the coordinates. Please post the form section of the page.

      1 Reply Last reply Reply Quote 0
      • D
        dhatz
        last edited by Oct 6, 2011, 1:22 PM

        pfsense adds a "captiveportal-" prefix to all files uploaded, so ensure you're referencing the correct new filename of the image file in your html form.

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received