Re: [PHPLIB-DEV] Form problem From: Kristian Koehntopp (kris <email protected>)
Date: 11/01/99

On Mon, Nov 01, 1999 at 03:32:03PM +0300, Kirill Maximov wrote:
> Why can't we offer a function which will insert appropriate
> <INPUT> hidden field iside the form ?

Please look at the CVS. We already have hidden_session:

  function hidden_session()
  {
    printf("<input type=\"hidden\" name=\"%s\" value=\"%s\">\n",
        $this->name, $this->id);
  }

But you are right, that function must take $this->mode into account. Also,
there should be a get_ variant of that function for use in
templates.

Kristian

-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.