• I just discovered that the registration form (on the My Account page) does not work properly on iPhones if the user chooses to use the phone’s autofill feature. If they type in all their info, it’s fine. But if they allow the iPhone (Safari browser) to autofill the email field, the Spam Trap field (named email_2) gets filled as well. That triggers the Anti-spam error message and the form cannot be submitted.

    I tried making a custom form-login.php template that adds autocomplete=”off” to the email_2 input, but the problem persists. I believe the field name must also be changed because it appears the autofill must be seeing it as an actual email field. Such a fix requires a change to both the form-login.php template and includes/class-wc-form-handler.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @jjbte it’s possible you have a bug for WooCommerce. You should go to the github project for WooCommerce to discuss it there. The employees of WooCommerce don’t seem to actually check these boards anymore, only things posted at github.

    Thread Starter jjbte

    (@jjbte)

    Thanks for the advice, anphira. I will try that if I have time later.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Spam Trap: Cannot register via iPhone if using autofill’ is closed to new replies.