Cancel autocomplete in captcha field

menchee 04 Nov, 2009
In any input field I can add autocomplete="off" to prevent the input history from dropping down.
But what should I do with the captcha field which it's input filed is generated automatically using {imageverification}?

Emanuel.
GreyHead 04 Nov, 2009
Hi emanuel,

You could hack the core - or add a JavaScript snippet to add the attribute to the field on page load.

Bob
menchee 04 Nov, 2009
Hey Bob,

Yes, this is how I did it, but I was hopping to have a way without modifying the core code.

Anyway, in case there isn't any other nice solution (JavaScript is an option, but I want it to run also on machines not running JS, here are the directions to modify the core code:
components\com_chronocontact\chronocontact.html.php
I added the autocomplete="off" in the variable $imver (around line 175. If you it is hard to find, search for the work imageverification in the referred document.

Thanks anyway,
Emanuel.
This topic is locked and no more replies can be posted.