CMS MADE SIMPLE FORGE

Form Builder

 

[#6599] TextArea custom CSS-Class Name not used

avatar
Created By: Sebastian Kotyrba (skoty.olpe)
Date Submitted: Thu Jun 23 16:35:20 -0400 2011

Assigned To: Jonathan Schmid (Foaly*)
Version: 0.7
CMSMS Version: None
Severity: Minor
Resolution: Won't Fix
State: Closed
Summary:
TextArea custom CSS-Class Name not used
Detailed Description:
If you enter for a textarea a custom css classname, it 
will not be used.

fix: classes/TextAreaField.class.php
- $ret = $mod->CreateTextArea(($this->GetOption('wysiwyg','0') ==
'1'?true:false),$id,($this->Value?$this->Value:$this->GetOption('default')),
'fbrp__'.$this->Id,'',$this->GetCSSId(),'','',$this->GetOption('cols','80'),$this->GetOption('rows','15'));

+$ret = $mod->CreateTextArea(($this->GetOption('wysiwyg','0') ==
'1'?true:false),$id,($this->Value?$this->Value:$this->GetOption('default')),
'fbrp__'.$this->Id,$this->GetOption('css_class',''),$this->GetCSSId(),'','',$this->GetOption('cols','80'),$this->GetOption('rows','15'));


History

Comments
avatar
Date: 2013-09-02 15:54
Posted By: Tapio Löytty (Stikki)

Will check this.
      
avatar
Date: 2013-09-03 05:31
Posted By: Jonathan Schmid (Foaly*)

alike all other fields a class indicating the field type is attributed to
textarea (cms_textarea). the custom class is attributed to the parent div in the
template.
      
Updates

Updated: 2013-09-03 05:31
resolution_id: 6 => 8
assigned_to_id: 11306 => 12994
state: Open => Closed

Updated: 2013-09-02 15:54
resolution_id: => 6
cmsms_version_id: => -1
assigned_to_id: 100 => 11306