ns_entrywidget returns HTML form elements for entering data into the specified column of the specified table. The dbhandle argument is a database handle (obtained with ns_db gethandle). The returned HTML form elements use all the customized settings for the specified table.
The onsearchform argument has a default value of 0 (zero). When it is non-zero, the widget allows "unknown" to be entered for the bit type, and widgets which are on an entry form would be shown as TextAreas that are turned into INPUTs.