http://www.feisonline.com/index.php?option=com_chronoforms5&chronoform=PreRegister
Dance School dropdown showing [object Object]
Error stems from
was working in 5.0.10, any ideas? Thanks
Dance School dropdown showing [object Object]
Error stems from
<?php
$options = array();
$options[] = array('key' => '', 'text' => 'Select');
$options[] = array('key' => 'ZZZ', 'text' => 'Not Listed, Add New School to List');
$options[] = array('key' => '', 'text' => '--------------------------------');
foreach ( $form->data['GetSchData'] as $d ) {
$options[] = array('key' => $d['ID'], 'text' => $d['School_Name']);
};
$options[] = array('key' => '', 'text' => '--------------------------------');
$options[] = array('key' => 'ZZZ', 'text' => 'Not Listed, Add New School to List');
echo json_encode($options);
?>
was working in 5.0.10, any ideas? Thanks
Hi cymak,
We got the sorting working by hacking the CF code code - see this post. You will need to make the same changes in the updated version of CF.
Bob
We got the sorting working by hacking the CF code code - see this post. You will need to make the same changes in the updated version of CF.
Bob
This topic is locked and no more replies can be posted.
