This widget allows you to edit text fields in a modal dialog on list or form with optional validation and autofocus support. If a field is read-only, the widget opens only for viewing. # view <form>; .... <field name="comment" widget="textarea_dialog_widget" />; .... </form>; <list>; .... <field name="comment" widget="textarea_dialog_widget" />; .... </list>;