ns_entrywidgetbytype
Overview
Return HTML form elements for entering data into specified column and type
Syntax
ns_entrywidgetbytype column type {onsearchform 0}
Description
ns_entrywidgetbytype returns HTML form elements for entering data into the specified column with the specified type. The type argument can be:
| Numeric types:
|
|
|
|---|
| bigint
| binary
| decimal
|
| double
| float
| float4
|
| float8
| int2
| int4
|
| integer
| numeric
| real
|
| smallint
| tinyint
|
|
| Bit and Boolean types:
|
|---|
| bit
| boolean
|
| Date/Time types:
|
|
|---|
| date
| time
| timestamp
|
| Alphanumeric/Varying types:
|
|
|---|
| longvarbinary
| longvarchar
| char
|
| varbinary
| varchar
|
|
The returned HTML form elements do not use any customized settings (since no table is specified).
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.