====== multiLevelData() ====== ''mixed **multiLevelData**()'' In the subordinate questionnaire, the function ''multiLevelData()'' returns the data that was specified as the second parameter in ''[[:en:create:functions:multileveldown]]''. For details on the multi-level function, see [[:en:create:multilevel#real_multi-level_design|Multi-Level Design]]. ===== Example ===== For example, the superordinate questionnaire can pass a serial number and a description: $i = loopIndex(); $num = $i + 1; $desc = value(id('AB01', $num)); // Create an array with two elements for number and description $data = array( 'num' => $num, 'desc' => $desc ); // Call the subordinate questionnaire "sub01" and pass this data multiLevelDown('sub01', $data); In the subordinate questionnaire, this data can then be used: $data = multiLevelData(); html('

Number '.$data['num'].'

'); replace('%title%', $data['desc']);