Auto Capitalisation on IOS

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!

Richard.


Comments

4 responses to “Auto Capitalisation on IOS”

  1. richfitz666 Avatar
    richfitz666

    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,

    Richard.

    1. antonio Avatar

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

  2. richfitz666 Avatar
    richfitz666

    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.

    Thanks!

  3. antonio Avatar

    Hi,
    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.
    cheer

Share