Is there any way to add an autocomplete="off" valu...
# suitescript
d
Is there any way to add an autocomplete="off" value to a form created with a SS1 suitelet get response?
Fixed it with a jQuery hack, but would be interested if anyone else knows of a native option.
Copy code
var autocomplete = form.addField('custpage_html', 'inlinehtml');
autocomplete.setDefaultValue ('<script>jQuery("form").attr(\'autocomplete\', \'off\');</script>');