Posted on 18/06/2024 17:20:06
Hi Lasse
Oh, yes - Chrome changed that once again...
Investigating a bit, I've found that they have changed how autocomplete works in 110 causing the first random field to be filled with username if there is a password field anywhere. Of just because it can....
The solution can be to add some fields to your form template:
<input type="text" name="_dw_username" value="" style="display:none!important" />
<input type="password" name="_dw_password" value="" style="display:none!important" />
This will cause Chrome (and probably LastPass) to fill those 2 fields - and they are not used in the antispam - I just invented the names.
Further, you can change the autocomplete="off" with autocomplete="one-time-code" - as that should also prevent the browser from filling - I have not tested that yet though.
Depending on how your form template looks like, you can do this crappy hack:
@formSystemFields.Replace("off", "one-time-code")
Let me hear how it goes!
Thanks, Nicolai