@@ 235-237 (lines=3) @@ | ||
232 | $str = $fieldvalue[7] . "," . $fieldvalue[8]; |
|
233 | $drp_array = call_user_func_array(array($this->CI->common, $fieldvalue[10]), array($fieldvalue[9])); |
|
234 | $form_contents.=form_dropdown($fieldvalue[1], $drp_array, $fieldvalue['value'],$extra); |
|
235 | if(isset($fieldvalue[4]) && $fieldvalue[4] != ''){ |
|
236 | $this->CI->form_validation->set_rules($fieldvalue[1], $fieldvalue[0], $fieldvalue[4]); |
|
237 | } |
|
238 | $form_contents.= '<div class="tooltips error_div pull-left no-padding" id="'.(is_array($fieldvalue[1])?$fieldvalue[1]['name']:$fieldvalue[1]).'_error_div" ><i style="color:#D95C5C; padding-left: 3px; padding-top: 10px;" class="fa fa-exclamation-triangle"></i>'; |
|
239 | $form_contents.= '<span class="popup_error error no-padding" id="'.(is_array($fieldvalue[1])?$fieldvalue[1]['name']:$fieldvalue[1]).'_error"> |
|
240 | </span></div>'; |
|
@@ 258-260 (lines=3) @@ | ||
255 | } else { |
|
256 | $form_contents.=form_dropdown_multiselect($fieldvalue[1] . "[]", $drp_array, $fieldvalue['value']); |
|
257 | } |
|
258 | if(isset($fieldvalue[4]) && $fieldvalue[4] != ''){ |
|
259 | $this->CI->form_validation->set_rules($fieldvalue[1], $fieldvalue[0], $fieldvalue[4]); |
|
260 | } |
|
261 | $form_contents.= '<div class="tooltips error_div pull-left no-padding" id="'.$fieldvalue[1].'_error_div" ><i style="color:#D95C5C; padding-left: 3px; padding-top: 10px;" class="fa fa-exclamation-triangle"></i>'; |
|
262 | $form_contents.= '<span class="popup_error error no-padding" id="'.$fieldvalue[1].'_error"></span></div>'; |
|
263 | /* End--------------------- For multi select code */ |