Re: [AOLSERVER] Input data verification

2002-11-05 Thread Simon Millward
tione" [EMAIL PROTECTED]To: [EMAIL PROTECTED]Sent: Monday, November 04, 2002 2:41 PMSubject: [AOLSERVER] Input data verification Hello,You have propably all build a simple a html form and ascript that processes the form. Now how do you verify your input data?For example, you want the user t

Re: [AOLSERVER] Input data verification

2002-11-05 Thread Daniël Mantione
On Tue, 5 Nov 2002, Simon Millward wrote: This sounds like your trying to create something very like what we have in the OpenACS i.e. the forms API and ad_page_contract. Both of which provide extensive and well organised facilites for doing this. Much of what goes on in the OpenACS' request

Re: [AOLSERVER] Input data verification

2002-11-05 Thread Simon Millward
Daniel, I'm surprised you say that, unless I'm missing what your trying to achieve. OpenACS has numerous mechanisms an opportunities for data validation. The ad_page_contract section offers a series of ways to restrict, validate and correct data posted between pages. The newer forms API

Re: [AOLSERVER] Input data verification

2002-11-05 Thread Daniël Mantione
On Mon, 4 Nov 2002, Scott Goodwin wrote: Hi Daniël, Yes, this would be useful, maybe as a standard ns_* style command, something like an ns_bind_vars. Right now the focus is on setting up a core AOLserver team, getting AOLserver 3.5.0 fully documented, getting the current modules cleaned

Re: [AOLSERVER] Input data verification

2002-11-05 Thread Simon Millward
Sure. I'm not going to say that a number of packages and areas of code aren't subject to fairly bad practice. Theres a lot of work gone into getting the core of the system right, and i accept there's still quite a bit to do going forward with many of the packages. However, in principle at least

Re: [AOLSERVER] Input data verification

2002-11-05 Thread Nathan Folkman
In a message dated 11/5/02 12:31:57 PM, [EMAIL PROTECTED] writes: Just thought it might be worthwhile taking a look at least to the principle of the way data validation in forms is handled via the 'form' command/API. If someone is willing to submit this as a slightly more formal request, the

Re: [AOLSERVER] Input data verification

2002-11-05 Thread Andrew Piskorski
On Tue, Nov 05, 2002 at 03:43:42PM +0100, Daniël Mantione wrote: Hmmm. At least OpenACS does not use it itself very well, I've yet to see an example of a page that does verify it's input data... On Tue, Nov 05, 2002 at 02:53:15PM +, Simon Millward wrote: Daniel, I'm surprised you say

Re: [AOLSERVER] Input data verification

2002-11-05 Thread Scott S. Goodwin
To: [EMAIL PROTECTED] Subject: Re: [AOLSERVER] Input data verification On Mon, 4 Nov 2002, Scott Goodwin wrote: Hi Daniël, Yes, this would be useful, maybe as a standard ns_* style command, something like an ns_bind_vars. Right now the focus is on setting up a core AOLserver team, getting AOLserver

[AOLSERVER] Input data verification

2002-11-04 Thread Daniël Mantione
Hello, You have propably all build a simple a html form and a script that processes the form. Now how do you verify your input data? For example, you want the user to enter a number. How do you verify on the server side that someone indeed sent a number? Usually I use the scan command, i.e.:

Re: [AOLSERVER] Input data verification

2002-11-04 Thread Scott Goodwin
: AOLserver Discussion [mailto:AOLSERVER;LISTSERV.AOL.COM] On Behalf Of Daniël Mantione Sent: Monday, November 04, 2002 3:42 PM To: [EMAIL PROTECTED] Subject: [AOLSERVER] Input data verification Hello, You have propably all build a simple a html form and a script that processes the form. Now how do