tricky code for forms widgets comment