On Thu, 2003-10-09 at 13:15, Marek Kilimajer wrote: > Bertrand Moulard wrote: > > it is a POST, didn't find anything in the doc about that. I reckon php > > doesn't handle that as the name is more a html id than part of the form, but > > need to make sure before telling my work mates to come up with another > > proposal ;-) > > > > You are right, form name is not submited by browser. What value it would > have anyway? But you can use > <form name="updateForm" action="script.php?formname=updateForm">
The form name has a LOT of value when performing form validation in a site that uses multiple forms for which values are validated and remembered without binding the logic to the page itself. For instance, InterJinn provides a powerful form interface for creating forms, manipulating forms, and validating form input. For this to occur properly the form name is paramount, otherwise it would have no idea what data to give the user when they request a form field object, or when they validate a form's data -- be it a single page form or a multi page form with complex conditional logic. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php