--- /local/home/julien/tmp/untitled folder/user.js.origin +++ /local/home/julien/tmp/untitled folder/user.js @@ -142,6 +142,11 @@ input.value = 'PASSWORD'; _window.runtime_initPassword('field_' + fieldName); } + else if (_document.getElementById(elt.id+'_checkbox') != null) + { + var checkboxElt = _document.getElementById(elt.id+'_checkbox'); + checkboxElt.checked = fieldValue == "true" ? true : false; + } } }