[ Previous ] [ Contents ] [ Index ] [ Next ]

ns_dbformvalueput

Overview

Set default values in an HTML form for accessing the database

Syntax

ns_dbformvalueput htmlform colname type value

Description

ns_dbformvalueput sets the default value for the specified column (colname) in an HTML form (htmlform) equal to value. The HTML form does not need to be completely formed; it may be a partial form such as that returned by ns_entrywidget. Specify the type of the column as text, integer, real, boolean, date, time, or timestamp.

This function is useful if you want to generate forms automatically (e.g., with ns_searchform) and modify them slightly.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.