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

    Idevices makes the 1st letter capital solution [vouchers]

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 2 Posters 1.1k 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
      itson
      last edited by

      my vouchers are all lower case letters & numbers only.
      all idevices makes the 1st letter capital,
      need a solution with the index page and input box to accept only lowercase letters.
      im having really hard time trying to figure this out, please help here is my current index.html

      
      <form method="post" action="$PORTAL_ACTION$" onsubmit="return CheckBoxesValidations() ;"> 
      
        <title>BlaBla</title>
      
      # Please Log-in to use WiFi
      
      <center>
      Accept</center>
      
      </form>
      
      
      1 Reply Last reply Reply Quote 0
      • I
        itson
        last edited by

        my idea was this
        include a call to "myFunction()"

        
        <form method="post" action="$PORTAL_ACTION$" onsubmit="return CheckBoxesValidations() &amp; myFunction();"> 
        
        remove the name="auth_voucher" from input box and give it id
        
        and at the bottom i have the myFunction taking the useriput from the inputbox and converting it to lowercase and then putting it in "auth_voucher"
        
        will this work? 
        
        will the method=post take the auth_voucher variable from java? 
        
        please help !! </form>
        
        
        1 Reply Last reply Reply Quote 0
        • I
          itson
          last edited by

          and

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

            Adapted from http://davidwalsh.name/disable-autocorrect

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.