[EMAIL PROTECTED]>

Hi Peter,

which serializer are you using (both class and version)?
As workaround you can put a   in the textarea if your version of the 
XHTMLSerializer closes the textarea element (not very nice).

Jasha


-----Original Message-----
From:   Peter Sparkes [mailto:[EMAIL PROTECTED]
Sent:   Mon 9/3/2007 6:17 PM
To:     [email protected]
Cc:     
Subject:        xhtml serialization and form textarea

Hi,

1.    Using CForms I generate a form with a textarea. If I serialize it 
as xml the output is :

 <textarea title="" name="enjoy" id="enjoy:input" class="forms field 
active" rows="10" cols="40"/>

2.    If I serialize it as html the output is :

 <textarea title="" name="enjoy" id="enjoy:input" class="forms field 
active" rows="10" cols="40"></textarea>

which is correct and the form displays correctly

3.    However when I serialize as XHTML 1.0 Strict the xhtml output is:

 <textarea title="" name="enjoy" id="enjoy:input" class="forms field 
active" rows="10" cols="40"/>

which is not correct and the form does not display correctly

Please, how do I get correct xhtml

Thanks

Peter Sparkes



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to