Example #1
0
         </td>
         <td width="20%">
            <label for="dropdown_fieldtype<?php 
echo $rand;
?>
" id="label_fieldtype">
               <?php 
echo _n('Type', 'Types', 1);
?>
&nbsp;
               <span style="color:red;">*</span>
            </label>
         </td>
         <td width="30%">
            <?php 
$fieldtypes = PluginFormcreatorFields::getNames();
Dropdown::showFromArray('fieldtype', $fieldtypes, array('value' => $question->fields['fieldtype'], 'on_change' => 'changeQuestionType();', 'rand' => $rand));
?>
         </td>
      </tr>
      <tr class="line1">
         <td>
            <label for="dropdown_plugin_formcreator_sections_id<?php 
echo $rand;
?>
" id="label_name">
               <?php 
echo _n('Section', 'Sections', 1, 'formcreator');
?>
&nbsp;
               <span style="color:red;">*</span>