Re: QuickForm 'static' element suggestion

From: Date: Mon, 17 May 2004 20:30:54 +0000
Subject: Re: QuickForm 'static' element suggestion
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12553@lists.php.net to get a copy of this message
Paul M Jones wrote:
It might be worth while to set two QF fields: one static, so it displays immutable, and one hidden, so the value propagates.
Guess that's what I'll have to do. I was hoping not to use a hidden field, because At the start of form processing, I have the field value. With a hidden field, theoretically someone could change the value when they submit the form, because the hidden value *is* submitted. I was hoping to get the 'static' elements value saved in the session. Yeah, I could manually save the value in the session, but it would be much more elegant to set the static value with setDefaults when the form is created, and then just have it available. Jeff Schmidt

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.pear.general (#12553) next »