There is a bug in the CFv5 Multi-element code that shows PHP Notices in the Designer > Events tab.
The fix is to add these lines around line 30 of /ROOT/administrator/components/com_chronoforms5/chronoforms/events/event.php
Bob
The fix is to add these lines around line 30 of /ROOT/administrator/components/com_chronoforms5/chronoforms/events/event.php
}else{
foreach($field['inputs'] as $in => $input){
$label = !empty($input['label']['text']) ? $input['label']['text'] : (!empty($input['label']) ? $input['label'] : (isset($input['value']) ? $input['value'] : null));
if(!empty($input['name'])){
self::$fields[$k.'-'.$in] = $input['name'];
}
if(!empty($label)){
// add the next three lines
if ( is_array($label) ) {
$label = $label['text'];
}
// up to here
self::$fields[$k.'-'.$in] .= ' - '.(strlen($label) < 60 ? $label : substr($label, 0, 60).'...');
}
}
}
Bob
Thanks Bob, updated for the next release!🙂
This topic is locked and no more replies can be posted.
