Re: QuickForm: Need some help to integrate FCKeditor withQF

From: Date: Thu, 06 Jan 2005 10:34:50 +0000
Subject: Re: QuickForm: Need some help to integrate FCKeditor withQF
References: 1 2 3 4 5 6 7 8 9  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16727@lists.php.net to get a copy of this message
Hi, pt2002 wrote:
I think it's the right way. The field that holds the value of the editor it's an hidden field. The way it is now it doesn't get updated when form is submited because the toHtml() returns two hidden inputs and an iframe.
Hmm, I suppose it isn't updated because you didn't implement setValue() / getValue() as well...
One more time I need some help. I just need to know how to set each of the inputs and the iframe. Should I use the setElement() function? In the php scritp where the form is created, it's the same way just like a group of elements?
If you really want to redo the element as a subclass of group, then please look at the date and hierselect elements' source.

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