How to disable autocompletion of date fields ?

By: Gilles Deron | Asked: 07/11/2024
ForumsCategory: General questionsHow to disable autocompletion of date fields ?
Gilles Deron asked 2 months ago
Hello, 

I'm trying to disable the autocompletion of date fields in a form. Most fields in Formidable Forms have an option to enable or disable autocompletion, but date fields don't have this option.
My searches in the official documentation and on this forum have turned up nothing, so I'm asking for your help.
Thanks.
6 Answers
Rob LeVineRob LeVine answered 2 months ago
What do you mean by autocomplete? If I have a date field on a form and I click on it, the calendar pops up and I can type in a date manually and nothing is filling in automatically.
Gilles Deron answered 2 months ago
Rereading my post, I see that an important piece of information is missing: this happens on Opera GX.
Attachments
Rob LeVineRob LeVine answered 2 months ago

Oh yeah, I hate that. It happens to me all the time. It has nothing to do with Formidable. It's all about the browser. You can try something like this to solve it via jQuery.

Gilles Deron answered 2 months ago
OK, I was hoping a piece of code could do it.   Thanks for your time.  
Rob LeVineRob LeVine answered 2 months ago
You can try something like this to solve it via jQuery.
Gilles Deron answered 2 months ago
Rob, you're the best.
The link you provide give me the small piece of code I needed.
Thanks a lot.  

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right