Idevices makes the 1st letter capital solution [vouchers]



  • 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>
    
    


  • 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>
    
    


  • and


  • Rebel Alliance Developer Netgate