">
">

">
>

" . __("If you provide a default, that form will not be shown to the consumer and the API will submit that value.", "sm_translate"). "

"; print '
'; $questions = $interview_obj->get_questions(); $defaults = sm_val_in_arrays("defaults", $form_data_list, array()); //$defaults_activated = sm_val_in_arrays("default_activated", $form_data_list, array()); foreach ($questions as $question){ if (empty($question['label'])) continue; $is_this_dflt_set = (isset($defaults[$question['name']]) ? $defaults[$question['name']] : ""); $this_dflt = (isset($defaults[$question['name']]) ? $defaults[$question['name']] : ""); print "
"; print " "; print $question['label']; //print "
"; switch($question['type']){ case "text": case "textarea": print " "; break; case "radio": case "checkbox": case "select": print " "; break; } //print "
"; print "
"; } ?>