NYCPHP Meetup

NYPHP.org

[nycphp-talk] Form names

Oktay Altunergil nyphp at altunergil.com
Tue Dec 10 22:54:08 EST 2002


That happens on the HTML side of things.. on the form page itself. He does not have access to that as far as I understand. If he had access, there's more straight forward ways to do it.

oktay

On Tue, 10 Dec 2002 20:18:25 -0500
danny cardenas <dannyc at dannyc.net> wrote:

> 
> Hi everyone- this is my first post to the list, and I'm a newbie to PHP, so if
> I'm clueless please forgive me- but, I'm thinking you could write a javascript
> handler that loops through all the forms on the page and writes the values to
> unique variables that it then passes to a PHP handler in a URL, ie:
> location='handler.php?f01Input01=foo&f02Input01=bar'
> 
> -dc
> 
> 
> 
> > On Tue, Dec 10, 2002 at 05:38:00PM -0500, Timothy P Sailer wrote:
> > > On Tue, Dec 10, 2002 at 04:59:57PM -0500, Adam Fields wrote:
> > > > On Mon, Dec 09, 2002 at 03:22:50PM -0500, Timothy P Sailer wrote:
> > > > > I've been asked to post process a canned HTML screen that has
> > > > > multiple named forms on it. I'm pulling a complete blank on
> > > > > how to get the name of the form the submit button was clicked on.
> > > > > Isn't this an HTML variable???
> > > > 
> > > > Are you taking form input directly from this HTML page somewhere, or
> > > > are you just not allowed to change it?
> > > 
> > > I'm taking the input from the page.
> > 
> > Then you can't do it, as has been noted elsewhere. Either they're
> > passing you the name of the form or they're not. If they're not, you
> > can't get it.
> > 
> > -- 
> >               - Adam
> > 
> > -----
> > Adam Fields, Managing Partner, fields at surgam.net
> > Surgam, Inc. is a technology consulting firm with strong background in
> > delivering scalable and robust enterprise web and IT applications.
> > http://www.adamfields.com
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 



More information about the talk mailing list