I'm testing the form building buttons (which, overall, work much better than HTMLArea), and I'm seeing that certain elements cannot hold their "name" attributes in IE6 on PC (FF and Netscape work fine). These elements are textarea, select, and a non-form-element, link. Textfields, for example, hold the name just fine in IE. (Might it have something to do with tags that have beginning and ending tags?)
Try adding a textarea to your form and then viewing the source in IE on PC.
I've searched the forums and found nothing. Any ideas?
Try adding a textarea to your form and then viewing the source in IE on PC.
I've searched the forums and found nothing. Any ideas?
RE: Some tags cannot hold "name" attributes...IE
RE: Some tags cannot hold "name" attributes...IE
\editor\_source\internals\fckxhtml_ie.js needs to be modified as follows:
ADD
-----------
// IE doens't hold the name attribute as an attribute for the <TEXTAREA> tag.
FCKXHtml.TagProcessors['textarea'] = function( node, htmlNode )
{
if ( htmlNode.name )
FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ;
FCKXHtml._AppendChildNodes( node, htmlNode ) ;
return node ;
}
// IE doens't hold the name attribute as an attribute for the <SELECT> tag.
FCKXHtml.TagProcessors['select'] = function( node, htmlNode )
{
if ( htmlNode.name )
FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ;
FCKXHtml._AppendChildNodes( node, htmlNode ) ;
return node ;
}
-----------
And modify to the form tagprocessor (at bottom of script) to:
-----------
FCKXHtml.TagProcessors['form'] = function( node, htmlNode )
{
if ( htmlNode.acceptCharset.length > 0 && htmlNode.acceptCharset != 'UNKNOWN' )
FCKXHtml._AppendAttribute( node, 'accept-charset', htmlNode.acceptCharset ) ;
if ( htmlNode.name )
FCKXHtml._AppendAttribute( node, 'name', htmlNode.name ) ;
FCKXHtml._AppendChildNodes( node, htmlNode ) ;
return node ;
}
-----------
Then, you can then repackage your code.