Hi Jeroen,
Did you try using Attribute Helper widget from app store?
For more details have a look at this forum post https://forum.mendix.com/link/questions/96538
Hope this helps!
Hi Mohammed,
Thnx for your support.
Unfortunately the attribute helper widget is for mendix 8 and up. I am running on 7.23.7.
But maybe Ockert has something to use, I have asked him.
Regards,
Jeroen
Thanks to the suggestion from Ockert I found a solution.
For those who are interested, I have added to my index.html at the bottom. Make sure it is before the mxui.js:
<script src="js/jquery-1.11.3.js?{{cachebust}}"></script>
<script language="JavaScript" type="text/javascript" src="js/disable_autocomplete.js?{{cachebust}}"></script>
<script src="mxclientsystem/mxui/mxui.js?{{cachebust}}"></script>
I placed the jquery-1.11.3.js in the js folder.
I created the disable_autocomplete.js script in the js folder with the following content:
$(document).ready(function(){
$( document ).on( 'focus', ':input', function(){
$( this ).attr( 'autocomplete', 'off' );
});
});
And this worked for me.