From: Alex B. <en...@tu...> - 2001-08-21 02:29:47
|
> On Mon, 20 Aug 2001, Alex Black wrote: > >>> I'm unclear on the above uicontrol element. You shouldn't need anything like >>> that since it can be determined based on your field descriptions.. >> >> What about, for example, a password field? >> You're putting that in a text field in the database, and doing some simple >> validation on it like "can't contain tags or +8bit chars" but you aren't >> explicitly marking it as "password" >> > > Right .. so the way we have dealt with that thus far is you leave type set as > 'text' and you have another type field (ptype) set as 'password', which means > that the password control will be used as opposed to a generic text control > for > display/editing purposes, but internally the data is still stored as text. Is there any other place that ptype is used? I like having the control definition in there, I think it's nice and convenient (and it gives you iron fisted control over default presentation) _a |