Re: Re: [Quickform] Change values of a hidden field

From: Date: Thu, 28 Aug 2003 20:10:14 +0000
Subject: Re: Re: [Quickform] Change values of a hidden field
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7450@lists.php.net to get a copy of this message
Hi! Thomas Watz wrote:
With setConstants it is possible to change values once set and with setDefaults it seems not to be possible? Does anyone have an explanation of that? The name 'setConstants' leads to the assumption that these values are not to be changed IMHO.
The name setConstants() implies that the values are sorta constant and not overwritten by submitted values. If you don't like the method or its name, you can do the following: $hidden =& $form->addElement('hidden', ...); $hidden->setValue('value');

« previous php.pear.general (#7450) next »