hasConditions($data) ? 'has-conditions ' : ''; $cls = trim( $this->getDefaultContainerClass() . ' ' . @$data['settings']['container_class'] . ' ' . $hasConditions .' ff-el-input--content' ); $uniqueId = $this->getUniqueId($data['attributes']['name']); $data['attributes']['id'] = $uniqueId; $data['attributes']['class'] = trim( 'ff-el-form-check-input ' . $data['attributes']['class'] ); if($tabIndex = \FluentForm\App\Helpers\Helper::getNextTabIndex()) { $data['attributes']['tabindex'] = $tabIndex; } $atts = $this->buildAttributes($data['attributes']); $checkbox = ''; if ($data['settings']['has_checkbox']) { $checkbox = ""; } $html = "
"; $html .= "
"; $html .= ""; $html .= "
"; $html .= "
"; echo apply_filters('fluenform_rendering_field_html_'.$elementName, $html, $data, $form); } }