Bug in BxBaseFormView.php

There is a code bug in BxBaseFormView.php

Line: 614

Function: genInputStandard

Bugged code:

$aAttrs['class'] = "form_input_{$aInput['type']}" . (isset($aAttrs['class']) ? (' ' . $aAttrs['class']) : '');

 

Fixed code:

$aAttrs['class'] = "form_input_{$aInput['type']}" . (isset($aInput['class']) ? (' ' . $aInput['class']) : '');

 

Not sure if this has been reported or not.

Cheers,

SG

Quote · 28 Jan 2011

There no errors! You should get your form item's class like this :

'my_input' => array(

'type' => 'text',

'name' => 'test',

'attrs' => array('id' => 'my_id'),

)

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 28 Jan 2011

My bad.

Thanks

Quote · 29 Jan 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.