RE: [PHP] Passing Form As Argument

2006-04-22 Thread Richard Lynch
On Fri, April 21, 2006 7:09 pm, Nicolas Verhaeghe wrote: > So far, I have rarely seen people entering fake data into shopping > carts or > online forms. Why? Because most people don't have time to waste > screwing > around filling online form with junk. You have been very very very lucky, then. B

RE: [PHP] Passing Form As Argument

2006-04-21 Thread Nicolas Verhaeghe
On Fri, April 21, 2006 4:56 pm, Nicolas Verhaeghe wrote: > I have functions which dynamically generate client-side javascript > validation functions according to the name of the field, its type > (text, password, email, drop down, radio button, textarea, and what > not). > > Same thing server-

RE: [PHP] Passing Form As Argument

2006-04-21 Thread Richard Lynch
On Fri, April 21, 2006 4:56 pm, Nicolas Verhaeghe wrote: > I have functions which dynamically generate client-side javascript > validation functions according to the name of the field, its type > (text, > password, email, drop down, radio button, textarea, and what not). > > Same thing server-side.

RE: [PHP] Passing Form As Argument

2006-04-21 Thread Nicolas Verhaeghe
From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 2:15 PM To: Nicolas Verhaeghe Cc: php-general@lists.php.net Subject: RE: [PHP] Passing Form As Argument On Fri, April 21, 2006 1:02 am, Nicolas Verhaeghe wrote: > I'm new to the list so "Hello" to a

RE: [PHP] Passing Form As Argument

2006-04-21 Thread Richard Lynch
On Fri, April 21, 2006 1:02 am, Nicolas Verhaeghe wrote: > I'm new to the list so "Hello" to all. I'm drafting a function.php > page, which will be included() in the pages in need. How would I pass > a form as an argument of a function? From the name parameter of the > form element or perhaps an ID

Re: [PHP] Passing Form As Argument

2006-04-21 Thread tedd
At 3:46 PM -0700 4/20/06, Chris Kennon wrote: I'm new to the list so "Hello" to all. I'm drafting a function.php page, which will be included() in the pages in need. How would I pass a form as an argument of a function? From the name parameter of the form element or perhaps an ID: function ch

RE: [PHP] Passing Form As Argument

2006-04-20 Thread Nicolas Verhaeghe
Hi, I'm new to the list so "Hello" to all. I'm drafting a function.php page, which will be included() in the pages in need. How would I pass a form as an argument of a function? From the name parameter of the form element or perhaps an ID: function checkForm(theForm){ //Form val

Re: [PHP] Passing Form As Argument

2006-04-20 Thread Richard Lynch
On Thu, April 20, 2006 5:46 pm, Chris Kennon wrote: > I'm new to the list so "Hello" to all. I'm drafting a function.php > page, which will be included() in the pages in need. How would I pass > a form as an argument of a function? From the name parameter of the > form element or perhaps an ID: HT

Re: [PHP] Passing Form As Argument

2006-04-20 Thread Paul Novitski
At 03:46 PM 4/20/2006, Chris Kennon wrote: I'm drafting a function.php page, which will be included() in the pages in need. How would I pass a form as an argument of a function? Unlike client-side JavaScript, server-side PHP doesn't see the client-side form. All PHP sees are the values of fo

Re: [PHP] Passing Form As Argument

2006-04-20 Thread Martin Alterisio
My first answer to your question would be: "no, you can't refer to an html form in any way in php". My second answer would be, as usual, a question: "what, exactly, are you trying to do?" 2006/4/20, Chris Kennon <[EMAIL PROTECTED]>: > > Hi, > > > I'm new to the list so "Hello" to all. I'm drafting