Hi, on another look at this, I haven't managed to achieve what I set out to do. My code (1.3.8a) is slightly different to what you posted above, but I did my best to adapt what you were saying and ended up with this:
/*
- Output a form password field
*/
function zen_draw_password_field($name, $value = '', $parameters = 'maxlength="40" autocomplete="off"') {
return zen_draw_input_field($name, $value, $parameters, 'password', true);
}
But in the browser render of the page I see this:
<fieldset>
<legend>Create a Password (needed to track your packages)</legend>
<br class="clearBoth">
<label class="inputLabel" for="password-new">Password:</label>
<input type="password" name="password" size = "21" maxlength= "40" id="password-new" /><span class="alert">* (at least 5 characters)</span><br class="clearBoth" />
<label class="inputLabel" for="password-confirm">Confirm Password:</label>
<input type="password" name="confirmation" size = "21" maxlength= "40" id="password-confirm" /><span class="alert">*</span><br class="clearBoth" />
</fieldset>
The desired autocomplete=off has not worked.
Any more ideas??? Thanks for your help :smile: