Is a feature planned for core to disable autocomplete on individual fields and/or the whole form like:
autocomplete="off"
Is a feature planned for core to disable autocomplete on individual fields and/or the whole form like:
autocomplete="off"
We haven't planned on that yet, but it's something we can consider. I'm sure it would be helpful in a lot of situations.
Yeah, in the meantime I suppose the only work around is either output buffering or jQuery, right?
I'd say jQuery is your best bet.
Will do, thx
Just a heads up that if you use the honeypot method and leave auto-complete turned on, the honeypot field will sometimes be populated; depending on what's chosen (name, email are sometimes chosen).
If you hide the honeypot with CSS, it can appear that the form has submitted even though the details aren't saved / emailed.
This caused a bit of a headache (used Chrome).
@teabagstudios Good call. Haven't had anyone report this, but I could see that happening. Unfortunately the honeypot field has to use a common name to entice bots. We can see about adding autocomplete="off" when the HTML5 option is turned on, it won't validate in XHTML.
That would be nice. It would be nice to also be able to add whatever attributes we want to a field. With html5 that would be very usefull.
You can't use javascript.
Adding autocomplete with Javascript is too late firefox already completed it.
Giving it a value of '' empties the value on multi page forms :(
I think the best bet would be to allow for any additional attributes on any field. With all the data stuff in html it would be extremely useful.
Oh Wait:
$( '#gform_8 #input_8_4:visible' ).val('');
Love jQuery.
I know this isn't a per form solution, but I just added autocomplete='off' to the filters of form_display.php.
We don't support modifying the plugin files. If anyone would like to request the feature again, please feel free to open a new topic.