Auto Capitalisation on IOS

Posted in

Hi there,

Searched through the documentation and couldn’t find the answer to my question.

Where can I edit the tags on the Affiliate registration page? IOS is automatically capitalising the first letter of username and email address causing the error that there are disallowed characters. I need to add:

However, I don’t know where to add it.

Your help is much appreciated!


4 Responses to Auto Capitalisation on IOS

  1. richfitz666 June 21, 2013 at 9:46 am #

    Please ignore my last comment… After trial and error after you pointing me to the correct file and line, I’ve managed to do it!

    I do, however, suggest that you add this code to future releases for the “Username” as this will stop any registrations on IOS.

    Thanks again,


    • antonio June 21, 2013 at 5:09 pm #

      Hi, we will consider it, Thanks for the warning.

  2. richfitz666 June 21, 2013 at 8:35 am #

    Hi Antonio,

    Thanks for your swift response. I’ve found the line within class-affiliates-registration.php that needs editing. However, I’m still unsure exactly what needs adding and where.

    You mention that a file was emailed to me with this custom change. I’m yet to receive this email. Please could you re-send or let me know what code needs adding.


  3. antonio June 21, 2013 at 6:17 am #

    in this case you must use autocapitalize=”off” in input type text in form.
    You can change this in affiliates-pro/lib/core/class-affiliates-registration.php about lines 330.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account