NYCPHP Meetup

NYPHP.org

[nycphp-talk] Form names

Freedman, Tom S. tfreedma at ubspw.com
Tue Dec 10 15:29:15 EST 2002


The problem is, the name of the form does not get passed to the action page,
only the form elements and their values do.  So if all the elements are
named the same and they all appear in each form, there's no way to tell them
apart.

-----Original Message-----
From: Sean Smith [mailto:ssmith at tomega.com]
Sent: Tuesday, December 10, 2002 1:13 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Form names


If I understand correctly, there are multiple forms on a single page. 
The form elements have the same name on each form. What about the actual 
name of the form?

Couldn't you test which form is being submitted by the form name? Of 
course, that assumes they didn't name all the forms the same also. I may 
be way off track but, just a thought.



--- Unsubscribe at http://nyphp.org/list/ ---




More information about the talk mailing list