Re: Form Design Advice

Поиск
Список
Период
Сортировка
--- Bruno Wolff III <[email protected]> wrote:
> On Fri, Mar 04, 2005 at 00:27:05 -0600,
>   Ross Gohlke <[email protected]> wrote:
> >
> > Code your form manually with the proper element
> names. Add a hidden
> > element for each visible element to pass the
> field's type for validation
> > purposes.
>
> This should be in an additional table in the
> database, not on the form.
> Otherwise the end users can send back incorrect
> types to check against
> which could potentially be a security issue.

bruno, help me out here.  are you saying that a table
in the db should have columns for table, column name
and field type (same as data type, right?)?

Would the layout look as follows?

Table: t_form

Columns: table, column, data_type

Sample Entry: customer, customer_name, varchar
Sample Entry: customer, customer_phone, varchar

tia...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

В списке pgsql-novice по дате отправления: