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

    Voucher to Convert to lower Case

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 313 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.
    • I
      Iahmad
      last edited by Iahmad

      dear all,

      i am successfully running the captive portal on pfsense 2.4.4 sometime probelm rises when on mobile devices auto captilize first letter is active and my voucher are all in lower alphabet.

      is there any code that even if user type capital letter they will automatically converted to small letter for the ease of access...

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The voucher codes can have a capital letter, though, so any automatic changes like that would break some codes.

        AFAIK there is some form field option to tell the browser not to do auto-caps, but I can't remember what it is at the moment. Something like autocapitalize="none". You could add that to a custom HTML page for the portal.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • I
          Iahmad
          last edited by

          thanks Mr. Jimp i use the "text-transform" and solved my probelm

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