[Tickets #4083] NEW: preserveVarByPost, hidden value: output not within form tags

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Jun 26 14:40:05 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4083
-----------------------------------------------------------------------
 Ticket             | 4083
 Created By         | thomas at gelf.net
 Summary            | preserveVarByPost, hidden value: output not within form tags
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


thomas at gelf.net (2006-06-26 14:40) wrote:

  _preserveVarByPost() immediately outputs hidden form fields by:

          printf('<input type="hidden" name="%s" value="%s" />' . "\n",
                   $varname,
                   $value);

Is there some good reason for doing so? This works when you're rendering
your form step by step (like whups/ticket/create.php) but otherwise makes
no
sense and is kinda confusing...

Regards,
Thomas Gelf




More information about the bugs mailing list