Thank you, that works.

On 4 Mrz., 04:14, Colin <[email protected]> wrote:
> Hi Konzertheid
>
> I thought I'd replied to you, but I guess I didn't.  Sorry.
>
> You can prevent this behaviour by forcing the contents to be saved "raw" as
> follows:
>
>   $ui= new FormUI( strtolower( __CLASS__ ) );
>   $ui->append( 'textarea', 'txtarea', ...    //  Append the text area
>   $ui->txtarea->raw = TRUE;               // Force it's contents to be saved
> without any processing
>
> HTH
> Colin
>
> On Thu, Mar 3, 2011 at 7:23 PM, Konzertheld <[email protected]>wrote:
>
>
>
>
>
>
>
>
>
> > Is there really nobody who has an idea about this?
>
> > On 7 Jan., 04:23, Konzertheld <[email protected]> wrote:
> > > Hi.
> > > I'm developing a plugin called Bricks which provides text snippets.
> > > Better: should provide - I'm surrently stucked at saving text field
> > > values from the plugin configuration. I'm using the textmulti
> > > formcontrol. Some of the text I enter there is escaped in a way I
> > > don't understand.
>
> > > Examples - the first line of a pair is what I entered, the second line
> > > is what I get after submitting.
>
> > > <test bla="
> > > <test bla="">
>
> > > <test bla=
> > > <test bla="=">
>
> > > <test
> > > <test>
>
> > > What is that and how can I stop it? If it is some escaping for
> > > database security, it should be reverted before loading the values
> > > into the form.
>
> > > By the way, another question. Is there a form control that provides
> > > simple input for key-value-pairs? The best thing I could make use of
> > > would be something like the textmulti control for key-value-pairs
> > > where adding one element adds two text fields.
>
> > > Oh, and the output of this whole formcontrol stuff is messed up, the
> > > text fields are flying around somewhere... but I'll create a ticket
> > > for that after checking.
>
> > > Regards,
> > > Konzertheld
>
> > --
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/habari-users
>
> --
> Colin Seymour
> Blog:http://colinseymour.co.uk
> Tech Stuff:http://lildude.co.uk
> Barefoot Running:http://barefootrunner.co.uk
> IRC: lildude #habari

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/habari-users

Reply via email to